@Stability(value=Experimental) public static final class ExecuteCommandConfiguration.Builder extends Object implements software.amazon.jsii.Builder<ExecuteCommandConfiguration>
ExecuteCommandConfiguration
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecuteCommandConfiguration |
build()
Builds the configured instance.
|
ExecuteCommandConfiguration.Builder |
kmsKey(IKey kmsKey)
Sets the value of
ExecuteCommandConfiguration.getKmsKey() |
ExecuteCommandConfiguration.Builder |
logConfiguration(ExecuteCommandLogConfiguration logConfiguration)
Sets the value of
ExecuteCommandConfiguration.getLogConfiguration() |
ExecuteCommandConfiguration.Builder |
logging(ExecuteCommandLogging logging)
Sets the value of
ExecuteCommandConfiguration.getLogging() |
@Stability(value=Experimental) public ExecuteCommandConfiguration.Builder kmsKey(IKey kmsKey)
ExecuteCommandConfiguration.getKmsKey()
kmsKey
- The AWS Key Management Service key ID to encrypt the data between the local client and the container.this
@Stability(value=Experimental) public ExecuteCommandConfiguration.Builder logConfiguration(ExecuteCommandLogConfiguration logConfiguration)
ExecuteCommandConfiguration.getLogConfiguration()
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.this
@Stability(value=Experimental) public ExecuteCommandConfiguration.Builder logging(ExecuteCommandLogging logging)
ExecuteCommandConfiguration.getLogging()
logging
- The log settings to use for logging the execute command session.this
@Stability(value=Experimental) public ExecuteCommandConfiguration build()
build
in interface software.amazon.jsii.Builder<ExecuteCommandConfiguration>
ExecuteCommandConfiguration
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.