@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteCommandLogConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
Constructor and Description |
---|
ExecuteCommandLogConfiguration() |
Modifier and Type | Method and Description |
---|---|
ExecuteCommandLogConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCloudWatchEncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs.
|
String |
getCloudWatchLogGroupName()
The name of the CloudWatch log group to send logs to.
|
String |
getS3BucketName()
The name of the S3 bucket to send logs to.
|
Boolean |
getS3EncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs.
|
String |
getS3KeyPrefix()
An optional folder in the S3 bucket to place logs in.
|
int |
hashCode() |
Boolean |
isCloudWatchEncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs.
|
Boolean |
isS3EncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs.
|
void |
setCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group to send logs to.
|
void |
setS3BucketName(String s3BucketName)
The name of the S3 bucket to send logs to.
|
void |
setS3EncryptionEnabled(Boolean s3EncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs.
|
void |
setS3KeyPrefix(String s3KeyPrefix)
An optional folder in the S3 bucket to place logs in.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteCommandLogConfiguration |
withCloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs.
|
ExecuteCommandLogConfiguration |
withCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group to send logs to.
|
ExecuteCommandLogConfiguration |
withS3BucketName(String s3BucketName)
The name of the S3 bucket to send logs to.
|
ExecuteCommandLogConfiguration |
withS3EncryptionEnabled(Boolean s3EncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs.
|
ExecuteCommandLogConfiguration |
withS3KeyPrefix(String s3KeyPrefix)
An optional folder in the S3 bucket to place logs in.
|
public void setCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
cloudWatchLogGroupName
- The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
public String getCloudWatchLogGroupName()
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
The CloudWatch log group must already be created.
public ExecuteCommandLogConfiguration withCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
cloudWatchLogGroupName
- The name of the CloudWatch log group to send logs to. The CloudWatch log group must already be created.
public void setCloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
cloudWatchEncryptionEnabled
- Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.public Boolean getCloudWatchEncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
public ExecuteCommandLogConfiguration withCloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
cloudWatchEncryptionEnabled
- Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.public Boolean isCloudWatchEncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
public void setS3BucketName(String s3BucketName)
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
s3BucketName
- The name of the S3 bucket to send logs to. The S3 bucket must already be created.
public String getS3BucketName()
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
The S3 bucket must already be created.
public ExecuteCommandLogConfiguration withS3BucketName(String s3BucketName)
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
s3BucketName
- The name of the S3 bucket to send logs to. The S3 bucket must already be created.
public void setS3EncryptionEnabled(Boolean s3EncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
s3EncryptionEnabled
- Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.public Boolean getS3EncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
public ExecuteCommandLogConfiguration withS3EncryptionEnabled(Boolean s3EncryptionEnabled)
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
s3EncryptionEnabled
- Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.public Boolean isS3EncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
public void setS3KeyPrefix(String s3KeyPrefix)
An optional folder in the S3 bucket to place logs in.
s3KeyPrefix
- An optional folder in the S3 bucket to place logs in.public String getS3KeyPrefix()
An optional folder in the S3 bucket to place logs in.
public ExecuteCommandLogConfiguration withS3KeyPrefix(String s3KeyPrefix)
An optional folder in the S3 bucket to place logs in.
s3KeyPrefix
- An optional folder in the S3 bucket to place logs in.public String toString()
toString
in class Object
Object.toString()
public ExecuteCommandLogConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.