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 interface
ExecuteCommandLogConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecuteCommandLogConfiguration.Builder
builder()
Boolean
cloudWatchEncryptionEnabled()
Determines whether to use 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()
Determines whether to use encryption on the S3 logs.String
s3KeyPrefix()
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.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-