Interface ExecuteCommandLogConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecuteCommandLogConfiguration.Builder,
,ExecuteCommandLogConfiguration> SdkBuilder<ExecuteCommandLogConfiguration.Builder,
,ExecuteCommandLogConfiguration> SdkPojo
- Enclosing class:
ExecuteCommandLogConfiguration
public static interface ExecuteCommandLogConfiguration.Builder
extends SdkPojo, CopyableBuilder<ExecuteCommandLogConfiguration.Builder,ExecuteCommandLogConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchEncryptionEnabled
(Boolean cloudWatchEncryptionEnabled) Determines whether to use encryption on the CloudWatch logs.cloudWatchLogGroupName
(String cloudWatchLogGroupName) The name of the CloudWatch log group to send logs to.s3BucketName
(String s3BucketName) The name of the S3 bucket to send logs to.s3EncryptionEnabled
(Boolean s3EncryptionEnabled) Determines whether to use encryption on the S3 logs.s3KeyPrefix
(String s3KeyPrefix) An optional folder in the S3 bucket to place logs in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cloudWatchLogGroupName
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
- Parameters:
cloudWatchLogGroupName
- The name of the CloudWatch log group to send logs to.The CloudWatch log group must already be created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchEncryptionEnabled
ExecuteCommandLogConfiguration.Builder cloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled) Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- Parameters:
cloudWatchEncryptionEnabled
- Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketName
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
- Parameters:
s3BucketName
- The name of the S3 bucket to send logs to.The S3 bucket must already be created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3EncryptionEnabled
Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- Parameters:
s3EncryptionEnabled
- Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3KeyPrefix
An optional folder in the S3 bucket to place logs in.
- Parameters:
s3KeyPrefix
- An optional folder in the S3 bucket to place logs in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-