@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableLoggingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Describes the status of logging for a cluster.
Constructor and Description |
---|
EnableLoggingResult() |
Modifier and Type | Method and Description |
---|---|
EnableLoggingResult |
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.
|
EnableLoggingResult |
withBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.
|
EnableLoggingResult |
withLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.
|
EnableLoggingResult |
withLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.
|
EnableLoggingResult |
withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.
|
EnableLoggingResult |
withLoggingEnabled(Boolean loggingEnabled)
true if logging is on, false if logging is off. |
EnableLoggingResult |
withS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLoggingEnabled(Boolean loggingEnabled)
true
if logging is on, false
if logging is off.
loggingEnabled
- true
if logging is on, false
if logging is off.public Boolean getLoggingEnabled()
true
if logging is on, false
if logging is off.
true
if logging is on, false
if logging is off.public EnableLoggingResult withLoggingEnabled(Boolean loggingEnabled)
true
if logging is on, false
if logging is off.
loggingEnabled
- true
if logging is on, false
if logging is off.public Boolean isLoggingEnabled()
true
if logging is on, false
if logging is off.
true
if logging is on, false
if logging is off.public void setBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.
bucketName
- The name of the S3 bucket where the log files are stored.public String getBucketName()
The name of the S3 bucket where the log files are stored.
public EnableLoggingResult withBucketName(String bucketName)
The name of the S3 bucket where the log files are stored.
bucketName
- The name of the S3 bucket where the log files are stored.public void setS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
s3KeyPrefix
- The prefix applied to the log file names.public String getS3KeyPrefix()
The prefix applied to the log file names.
public EnableLoggingResult withS3KeyPrefix(String s3KeyPrefix)
The prefix applied to the log file names.
s3KeyPrefix
- The prefix applied to the log file names.public void setLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.
lastSuccessfulDeliveryTime
- The last time that logs were delivered.public Date getLastSuccessfulDeliveryTime()
The last time that logs were delivered.
public EnableLoggingResult withLastSuccessfulDeliveryTime(Date lastSuccessfulDeliveryTime)
The last time that logs were delivered.
lastSuccessfulDeliveryTime
- The last time that logs were delivered.public void setLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.
lastFailureTime
- The last time when logs failed to be delivered.public Date getLastFailureTime()
The last time when logs failed to be delivered.
public EnableLoggingResult withLastFailureTime(Date lastFailureTime)
The last time when logs failed to be delivered.
lastFailureTime
- The last time when logs failed to be delivered.public void setLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.
lastFailureMessage
- The message indicating that logs failed to be delivered.public String getLastFailureMessage()
The message indicating that logs failed to be delivered.
public EnableLoggingResult withLastFailureMessage(String lastFailureMessage)
The message indicating that logs failed to be delivered.
lastFailureMessage
- The message indicating that logs failed to be delivered.public String toString()
toString
in class Object
Object.toString()
public EnableLoggingResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.