Class DisableLoggingResult
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the status of logging for a cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the S3 bucket where the log files are stored.The message indicating that logs failed to be delivered.The last time when logs failed to be delivered.The last time that logs were delivered.true
if logging is on,false
if logging is off.The prefix applied to the log file names.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withBucketName
(String bucketName) The name of the S3 bucket where the log files are stored.withLastFailureMessage
(String lastFailureMessage) The message indicating that logs failed to be delivered.withLastFailureTime
(Date lastFailureTime) The last time when logs failed to be delivered.withLastSuccessfulDeliveryTime
(Date lastSuccessfulDeliveryTime) The last time that logs were delivered.withLoggingEnabled
(Boolean loggingEnabled) true
if logging is on,false
if logging is off.withS3KeyPrefix
(String s3KeyPrefix) The prefix applied to the log file names.
-
Constructor Details
-
DisableLoggingResult
public DisableLoggingResult()
-
-
Method Details
-
setLoggingEnabled
true
if logging is on,false
if logging is off.- Parameters:
loggingEnabled
- true if logging is on,false
-
getLoggingEnabled
true
if logging is on,false
if logging is off.- Returns:
- true if logging is on,
false
-
withLoggingEnabled
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
true
if logging is on,false
if logging is off.- Returns:
- true if logging is on,
false
-
setBucketName
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
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
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
The prefix applied to the log file names.
- Parameters:
s3KeyPrefix
- The prefix applied to the log file names.
-
getS3KeyPrefix
The prefix applied to the log file names.
- Returns:
- The prefix applied to the log file names.
-
withS3KeyPrefix
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
The last time that logs were delivered.
- Parameters:
lastSuccessfulDeliveryTime
- The last time that logs were delivered.
-
getLastSuccessfulDeliveryTime
The last time that logs were delivered.
- Returns:
- The last time that logs were delivered.
-
withLastSuccessfulDeliveryTime
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
The last time when logs failed to be delivered.
- Parameters:
lastFailureTime
- The last time when logs failed to be delivered.
-
getLastFailureTime
The last time when logs failed to be delivered.
- Returns:
- The last time when logs failed to be delivered.
-
withLastFailureTime
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
The message indicating that logs failed to be delivered.
- Parameters:
lastFailureMessage
- The message indicating that logs failed to be delivered.
-
getLastFailureMessage
The message indicating that logs failed to be delivered.
- Returns:
- The message indicating that logs failed to be delivered.
-
withLastFailureMessage
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-