Interface AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder,
,AwsEcsClusterConfigurationExecuteCommandConfigurationDetails> SdkBuilder<AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder,
,AwsEcsClusterConfigurationExecuteCommandConfigurationDetails> SdkPojo
- Enclosing class:
AwsEcsClusterConfigurationExecuteCommandConfigurationDetails
public static interface AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder,AwsEcsClusterConfigurationExecuteCommandConfigurationDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the KMS key that is used to encrypt the data between the local client and the container.logConfiguration
(Consumer<AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails.Builder> logConfiguration) The log configuration for the results of the run command actions.logConfiguration
(AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails logConfiguration) The log configuration for the results of the run command actions.The log setting to use for redirecting logs for run command results.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
-
kmsKeyId
The identifier of the KMS key that is used to encrypt the data between the local client and the container.
- Parameters:
kmsKeyId
- The identifier of the KMS key that is used to encrypt the data between the local client and the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder logConfiguration(AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails logConfiguration) The log configuration for the results of the run command actions. Required if
Logging
isNONE
.- Parameters:
logConfiguration
- The log configuration for the results of the run command actions. Required ifLogging
isNONE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default AwsEcsClusterConfigurationExecuteCommandConfigurationDetails.Builder logConfiguration(Consumer<AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails.Builder> logConfiguration) The log configuration for the results of the run command actions. Required if
This is a convenience method that creates an instance of theLogging
isNONE
.AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails.Builder
avoiding the need to create one manually viaAwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails)
.- Parameters:
logConfiguration
- a consumer that will call methods onAwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logging
The log setting to use for redirecting logs for run command results.
- Parameters:
logging
- The log setting to use for redirecting logs for run command results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-