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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExecuteCommandLogConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecuteCommandLogConfiguration.Builderbuilder()BooleancloudWatchEncryptionEnabled()Determines whether to use encryption on the CloudWatch logs.StringcloudWatchLogGroupName()The name of the CloudWatch log group to send logs to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Strings3BucketName()The name of the S3 bucket to send logs to.Booleans3EncryptionEnabled()Determines whether to use encryption on the S3 logs.Strings3KeyPrefix()An optional folder in the S3 bucket to place logs in.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExecuteCommandLogConfiguration.Builder>serializableBuilderClass()ExecuteCommandLogConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
cloudWatchLogGroupName
public final String 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
public final Boolean 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
public final String 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
public final Boolean 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
public final String 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
public ExecuteCommandLogConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecuteCommandLogConfiguration.Builder,ExecuteCommandLogConfiguration>
-
builder
public static ExecuteCommandLogConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExecuteCommandLogConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-