Interface LogConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogConfiguration.Builder,LogConfiguration>,SdkBuilder<LogConfiguration.Builder,LogConfiguration>,SdkPojo
- Enclosing class:
- LogConfiguration
public static interface LogConfiguration.Builder extends SdkPojo, CopyableBuilder<LogConfiguration.Builder,LogConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogConfiguration.BuilderlogDestination(String logDestination)The type of log collection to use for a fleet.LogConfiguration.BuilderlogDestination(LogDestination logDestination)The type of log collection to use for a fleet.LogConfiguration.BuilderlogGroupArn(String logGroupArn)If log destination isCLOUDWATCH, logs are sent to the specified log group in Amazon CloudWatch.LogConfiguration.Builders3BucketName(String s3BucketName)If log destination isS3, logs are sent to the specified Amazon S3 bucket name.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
logDestination
LogConfiguration.Builder logDestination(String logDestination)
The type of log collection to use for a fleet.
-
CLOUDWATCH-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group. -
S3-- Store logs in an Amazon S3 bucket that you define. -
NONE-- Don't collect container logs.
- Parameters:
logDestination- The type of log collection to use for a fleet.-
CLOUDWATCH-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group. -
S3-- Store logs in an Amazon S3 bucket that you define. -
NONE-- Don't collect container logs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogDestination,LogDestination
-
-
logDestination
LogConfiguration.Builder logDestination(LogDestination logDestination)
The type of log collection to use for a fleet.
-
CLOUDWATCH-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group. -
S3-- Store logs in an Amazon S3 bucket that you define. -
NONE-- Don't collect container logs.
- Parameters:
logDestination- The type of log collection to use for a fleet.-
CLOUDWATCH-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group. -
S3-- Store logs in an Amazon S3 bucket that you define. -
NONE-- Don't collect container logs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogDestination,LogDestination
-
-
s3BucketName
LogConfiguration.Builder s3BucketName(String s3BucketName)
If log destination is
S3, logs are sent to the specified Amazon S3 bucket name.- Parameters:
s3BucketName- If log destination isS3, logs are sent to the specified Amazon S3 bucket name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArn
LogConfiguration.Builder logGroupArn(String logGroupArn)
If log destination is
CLOUDWATCH, logs are sent to the specified log group in Amazon CloudWatch.- Parameters:
logGroupArn- If log destination isCLOUDWATCH, logs are sent to the specified log group in Amazon CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-