@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 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 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 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 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.public String getKmsKeyId()
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
public ExecuteCommandConfiguration withKmsKeyId(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.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.
ExecuteCommandLogging
public 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.
ExecuteCommandLogging
public 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.
ExecuteCommandLogging
public 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.
ExecuteCommandLogging
public 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 Object
Object.toString()
public ExecuteCommandConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.