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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecuteCommandLogConfiguration.Builder
cloudWatchEncryptionEnabled(Boolean cloudWatchEncryptionEnabled)
Determines whether to use encryption on the CloudWatch logs.ExecuteCommandLogConfiguration.Builder
cloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group to send logs to.ExecuteCommandLogConfiguration.Builder
s3BucketName(String s3BucketName)
The name of the S3 bucket to send logs to.ExecuteCommandLogConfiguration.Builder
s3EncryptionEnabled(Boolean s3EncryptionEnabled)
Determines whether to use encryption on the S3 logs.ExecuteCommandLogConfiguration.Builder
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 Detail
-
cloudWatchLogGroupName
ExecuteCommandLogConfiguration.Builder cloudWatchLogGroupName(String 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
ExecuteCommandLogConfiguration.Builder s3BucketName(String 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
ExecuteCommandLogConfiguration.Builder s3EncryptionEnabled(Boolean 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
ExecuteCommandLogConfiguration.Builder s3KeyPrefix(String 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.
-
-