Class DisableLoggingResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DisableLoggingResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DisableLoggingResult extends Object implements Serializable, Cloneable
Describes the status of logging for a cluster.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisableLoggingResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisableLoggingResult
clone()
boolean
equals(Object obj)
String
getBucketName()
The name of the S3 bucket where the log files are stored.String
getLastFailureMessage()
The message indicating that logs failed to be delivered.Date
getLastFailureTime()
The last time when logs failed to be delivered.Date
getLastSuccessfulDeliveryTime()
The last time that logs were delivered.Boolean
getLoggingEnabled()
true
if logging is on,false
if logging is off.String
getS3KeyPrefix()
The prefix applied to the log file names.int
hashCode()
Boolean
isLoggingEnabled()
true
if logging is on,false
if logging is off.void
setBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.void
setLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.void
setLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.void
setLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.void
setLoggingEnabled(Boolean loggingEnabled)
true
if logging is on,false
if logging is off.void
setS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.String
toString()
Returns a string representation of this object; useful for testing and debugging.DisableLoggingResult
withBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.DisableLoggingResult
withLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.DisableLoggingResult
withLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.DisableLoggingResult
withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.DisableLoggingResult
withLoggingEnabled(Boolean loggingEnabled)
true
if logging is on,false
if logging is off.DisableLoggingResult
withS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
-
-
-
Method Detail
-
setLoggingEnabled
public void setLoggingEnabled(Boolean loggingEnabled)
true
if logging is on,false
if logging is off.- Parameters:
loggingEnabled
- true if logging is on,false
-
getLoggingEnabled
public Boolean getLoggingEnabled()
true
if logging is on,false
if logging is off.- Returns:
- true if logging is on,
false
-
withLoggingEnabled
public DisableLoggingResult withLoggingEnabled(Boolean loggingEnabled)
true
if logging is on,false
if logging is off.- Parameters:
loggingEnabled
- true if logging is on,false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLoggingEnabled
public Boolean isLoggingEnabled()
true
if logging is on,false
if logging is off.- Returns:
- true if logging is on,
false
-
setBucketName
public void setBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.
- Parameters:
bucketName
- The name of the S3 bucket where the log files are stored.
-
getBucketName
public String getBucketName()
The name of the S3 bucket where the log files are stored.
- Returns:
- The name of the S3 bucket where the log files are stored.
-
withBucketName
public DisableLoggingResult withBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.
- Parameters:
bucketName
- The name of the S3 bucket where the log files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3KeyPrefix
public void setS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
- Parameters:
s3KeyPrefix
- The prefix applied to the log file names.
-
getS3KeyPrefix
public String getS3KeyPrefix()
The prefix applied to the log file names.
- Returns:
- The prefix applied to the log file names.
-
withS3KeyPrefix
public DisableLoggingResult withS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
- Parameters:
s3KeyPrefix
- The prefix applied to the log file names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastSuccessfulDeliveryTime
public void setLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.
- Parameters:
lastSuccessfulDeliveryTime
- The last time that logs were delivered.
-
getLastSuccessfulDeliveryTime
public Date getLastSuccessfulDeliveryTime()
The last time that logs were delivered.
- Returns:
- The last time that logs were delivered.
-
withLastSuccessfulDeliveryTime
public DisableLoggingResult withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.
- Parameters:
lastSuccessfulDeliveryTime
- The last time that logs were delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastFailureTime
public void setLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.
- Parameters:
lastFailureTime
- The last time when logs failed to be delivered.
-
getLastFailureTime
public Date getLastFailureTime()
The last time when logs failed to be delivered.
- Returns:
- The last time when logs failed to be delivered.
-
withLastFailureTime
public DisableLoggingResult withLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.
- Parameters:
lastFailureTime
- The last time when logs failed to be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastFailureMessage
public void setLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.
- Parameters:
lastFailureMessage
- The message indicating that logs failed to be delivered.
-
getLastFailureMessage
public String getLastFailureMessage()
The message indicating that logs failed to be delivered.
- Returns:
- The message indicating that logs failed to be delivered.
-
withLastFailureMessage
public DisableLoggingResult withLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.
- Parameters:
lastFailureMessage
- The message indicating that logs failed to be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisableLoggingResult clone()
-
-