@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteCommandConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The details of the execute command configuration.
| Constructor and Description | 
|---|
| ExecuteCommandConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| ExecuteCommandConfiguration | clone() | 
| boolean | equals(Object obj) | 
| String | getKmsKeyId()
 Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container. | 
| ExecuteCommandLogConfiguration | getLogConfiguration()
 The log configuration for the results of the execute command actions. | 
| String | getLogging()
 The log setting to use for redirecting logs for your execute command results. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setKmsKeyId(String kmsKeyId)
 Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container. | 
| void | setLogConfiguration(ExecuteCommandLogConfiguration logConfiguration)
 The log configuration for the results of the execute command actions. | 
| void | setLogging(String logging)
 The log setting to use for redirecting logs for your execute command results. | 
| String | toString()Returns a string representation of this object. | 
| ExecuteCommandConfiguration | withKmsKeyId(String kmsKeyId)
 Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container. | 
| ExecuteCommandConfiguration | withLogConfiguration(ExecuteCommandLogConfiguration logConfiguration)
 The log configuration for the results of the execute command actions. | 
| ExecuteCommandConfiguration | withLogging(ExecuteCommandLogging logging)
 The log setting to use for redirecting logs for your execute command results. | 
| ExecuteCommandConfiguration | withLogging(String logging)
 The log setting to use for redirecting logs for your execute command results. | 
public void setKmsKeyId(String kmsKeyId)
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
kmsKeyId - Specify an AWS Key Management Service key ID to encrypt the data between the local client and the
        container.public String getKmsKeyId()
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
public ExecuteCommandConfiguration withKmsKeyId(String kmsKeyId)
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
kmsKeyId - Specify an AWS Key Management Service key ID to encrypt the data between the local client and the
        container.public void setLogging(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.
        
ExecuteCommandLoggingpublic String getLogging()
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.
 
         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 ExecuteCommandConfiguration withLogging(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.
        
ExecuteCommandLoggingpublic ExecuteCommandConfiguration withLogging(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.
        
ExecuteCommandLoggingpublic void setLogConfiguration(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.public ExecuteCommandLogConfiguration getLogConfiguration()
 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 withLogConfiguration(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.public String toString()
toString in class ObjectObject.toString()public ExecuteCommandConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.