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