@Generated(value="software.amazon.awssdk:codegen") public final class ExecuteCommandLogConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExecuteCommandLogConfiguration.Builder,ExecuteCommandLogConfiguration>
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExecuteCommandLogConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExecuteCommandLogConfiguration.Builder |
builder() |
Boolean |
cloudWatchEncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs.
|
String |
cloudWatchLogGroupName()
The name of the CloudWatch log group to send logs to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3BucketName()
The name of the S3 bucket to send logs to.
|
Boolean |
s3EncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs.
|
String |
s3KeyPrefix()
An optional folder in the S3 bucket to place logs in.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExecuteCommandLogConfiguration.Builder> |
serializableBuilderClass() |
ExecuteCommandLogConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String cloudWatchLogGroupName()
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
The CloudWatch log group must already be created.
public final Boolean cloudWatchEncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
public final String s3BucketName()
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
The S3 bucket must already be created.
public final Boolean s3EncryptionEnabled()
Whether or not to enable encryption on the CloudWatch logs. If not specified, encryption will be disabled.
public final String s3KeyPrefix()
An optional folder in the S3 bucket to place logs in.
public ExecuteCommandLogConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExecuteCommandLogConfiguration.Builder,ExecuteCommandLogConfiguration>public static ExecuteCommandLogConfiguration.Builder builder()
public static Class<? extends ExecuteCommandLogConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.