public static interface ExecuteCommandConfiguration.Builder extends SdkPojo, CopyableBuilder<ExecuteCommandConfiguration.Builder,ExecuteCommandConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ExecuteCommandConfiguration.Builder |
kmsKeyId(String kmsKeyId)
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
|
default ExecuteCommandConfiguration.Builder |
logConfiguration(Consumer<ExecuteCommandLogConfiguration.Builder> logConfiguration)
The log configuration for the results of the execute command actions.
|
ExecuteCommandConfiguration.Builder |
logConfiguration(ExecuteCommandLogConfiguration logConfiguration)
The log configuration for the results of the execute command actions.
|
ExecuteCommandConfiguration.Builder |
logging(ExecuteCommandLogging logging)
The log setting to use for redirecting logs for your execute command results.
|
ExecuteCommandConfiguration.Builder |
logging(String logging)
The log setting to use for redirecting logs for your execute command results.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExecuteCommandConfiguration.Builder kmsKeyId(String kmsKeyId)
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
kmsKeyId - Specify an Key Management Service key ID to encrypt the data between the local client and the
container.ExecuteCommandConfiguration.Builder logging(String logging)
The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE: The execute command session is not logged.
DEFAULT: The awslogs configuration in the task definition is used. If no logging
parameter is specified, it defaults to this value. If no awslogs log driver is configured in the
task definition, the output won't be logged.
OVERRIDE: Specify the logging details as a part of logConfiguration. If the
OVERRIDE logging option is specified, the logConfiguration is required.
logging - The log setting to use for redirecting logs for your execute command results. The following log
settings are available.
NONE: The execute command session is not logged.
DEFAULT: The awslogs configuration in the task definition is used. If no
logging parameter is specified, it defaults to this value. If no awslogs log driver is
configured in the task definition, the output won't be logged.
OVERRIDE: Specify the logging details as a part of logConfiguration. If the
OVERRIDE logging option is specified, the logConfiguration is required.
ExecuteCommandLogging,
ExecuteCommandLoggingExecuteCommandConfiguration.Builder logging(ExecuteCommandLogging logging)
The log setting to use for redirecting logs for your execute command results. The following log settings are available.
NONE: The execute command session is not logged.
DEFAULT: The awslogs configuration in the task definition is used. If no logging
parameter is specified, it defaults to this value. If no awslogs log driver is configured in the
task definition, the output won't be logged.
OVERRIDE: Specify the logging details as a part of logConfiguration. If the
OVERRIDE logging option is specified, the logConfiguration is required.
logging - The log setting to use for redirecting logs for your execute command results. The following log
settings are available.
NONE: The execute command session is not logged.
DEFAULT: The awslogs configuration in the task definition is used. If no
logging parameter is specified, it defaults to this value. If no awslogs log driver is
configured in the task definition, the output won't be logged.
OVERRIDE: Specify the logging details as a part of logConfiguration. If the
OVERRIDE logging option is specified, the logConfiguration is required.
ExecuteCommandLogging,
ExecuteCommandLoggingExecuteCommandConfiguration.Builder logConfiguration(ExecuteCommandLogConfiguration logConfiguration)
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs
or an Amazon S3 bucket. When logging=OVERRIDE is specified, a logConfiguration must
be provided.
logConfiguration - The log configuration for the results of the execute command actions. The logs can be sent to
CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE is specified, a
logConfiguration must be provided.default ExecuteCommandConfiguration.Builder logConfiguration(Consumer<ExecuteCommandLogConfiguration.Builder> logConfiguration)
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs
or an Amazon S3 bucket. When logging=OVERRIDE is specified, a logConfiguration must
be provided.
ExecuteCommandLogConfiguration.Builder
avoiding the need to create one manually via ExecuteCommandLogConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to logConfiguration(ExecuteCommandLogConfiguration).
logConfiguration - a consumer that will call methods on ExecuteCommandLogConfiguration.BuilderlogConfiguration(ExecuteCommandLogConfiguration)Copyright © 2022. All rights reserved.