Interface LogConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogConfiguration.Builder,
,LogConfiguration> SdkBuilder<LogConfiguration.Builder,
,LogConfiguration> SdkPojo
- Enclosing class:
LogConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionlogDestination
(String logDestination) The type of log collection to use for a fleet.logDestination
(LogDestination logDestination) The type of log collection to use for a fleet.logGroupArn
(String logGroupArn) If log destination isCLOUDWATCH
, logs are sent to the specified log group in Amazon CloudWatch.s3BucketName
(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 Details
-
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. This bucket must reside in the fleet's home Amazon Web Services Region. -
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. This bucket must reside in the fleet's home Amazon Web Services Region. -
NONE
-- Don't collect container logs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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. This bucket must reside in the fleet's home Amazon Web Services Region. -
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. This bucket must reside in the fleet's home Amazon Web Services Region. -
NONE
-- Don't collect container logs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
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.
-