Interface LogLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogLocation.Builder,,LogLocation> SdkBuilder<LogLocation.Builder,,LogLocation> SdkPojo
- Enclosing class:
LogLocation
@Mutable
@NotThreadSafe
public static interface LogLocation.Builder
extends SdkPojo, CopyableBuilder<LogLocation.Builder,LogLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogLocation.BuildercloudWatchLog(Consumer<CloudWatchLog.Builder> cloudWatchLog) The CloudWatch Logs location for the task logs.cloudWatchLog(CloudWatchLog cloudWatchLog) The CloudWatch Logs location for the task logs.The type of log storage.The type of log storage.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
logType
The type of log storage. Currently, only CLOUDWATCH is supported.
- Parameters:
logType- The type of log storage. Currently, only CLOUDWATCH is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logType
The type of log storage. Currently, only CLOUDWATCH is supported.
- Parameters:
logType- The type of log storage. Currently, only CLOUDWATCH is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchLog
The CloudWatch Logs location for the task logs.
- Parameters:
cloudWatchLog- The CloudWatch Logs location for the task logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLog
The CloudWatch Logs location for the task logs.
This is a convenience method that creates an instance of theCloudWatchLog.Builderavoiding the need to create one manually viaCloudWatchLog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLog(CloudWatchLog).- Parameters:
cloudWatchLog- a consumer that will call methods onCloudWatchLog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-