Class ExecuteCommandLogConfiguration
java.lang.Object
software.amazon.awssdk.services.ecs.model.ExecuteCommandLogConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExecuteCommandLogConfiguration.Builder,ExecuteCommandLogConfiguration>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleanDetermines whether to use encryption on the CloudWatch logs.final StringThe name of the CloudWatch log group to send logs to.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the S3 bucket to send logs to.final BooleanDetermines whether to use encryption on the S3 logs.final StringAn optional folder in the S3 bucket to place logs in.static Class<? extends ExecuteCommandLogConfiguration.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
cloudWatchLogGroupName
The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
- Returns:
- The name of the CloudWatch log group to send logs to.
The CloudWatch log group must already be created.
-
cloudWatchEncryptionEnabled
Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
- Returns:
- Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off.
-
s3BucketName
The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
- Returns:
- The name of the S3 bucket to send logs to.
The S3 bucket must already be created.
-
s3EncryptionEnabled
Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
- Returns:
- Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.
-
s3KeyPrefix
An optional folder in the S3 bucket to place logs in.
- Returns:
- An optional folder in the S3 bucket to place logs in.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecuteCommandLogConfiguration.Builder,ExecuteCommandLogConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-