@Generated(value="software.amazon.awssdk:codegen") public final class ExecuteCommandConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExecuteCommandConfiguration.Builder,ExecuteCommandConfiguration>
The details of the execute command configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExecuteCommandConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExecuteCommandConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
|
ExecuteCommandLogConfiguration |
logConfiguration()
The log configuration for the results of the execute command actions.
|
ExecuteCommandLogging |
logging()
The log setting to use for redirecting logs for your execute command results.
|
String |
loggingAsString()
The log setting to use for redirecting logs for your execute command results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExecuteCommandConfiguration.Builder> |
serializableBuilderClass() |
ExecuteCommandConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String kmsKeyId()
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
public final 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.
If the service returns an enum value that is not available in the current SDK version, logging will
return ExecuteCommandLogging.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from loggingAsString().
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.
ExecuteCommandLoggingpublic final String loggingAsString()
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.
If the service returns an enum value that is not available in the current SDK version, logging will
return ExecuteCommandLogging.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from loggingAsString().
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.
ExecuteCommandLoggingpublic final 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.
logging=OVERRIDE is specified, a
logConfiguration must be provided.public ExecuteCommandConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExecuteCommandConfiguration.Builder,ExecuteCommandConfiguration>public static ExecuteCommandConfiguration.Builder builder()
public static Class<? extends ExecuteCommandConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.