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) CloudWatch log information if logs are stored in CloudWatchcloudWatchLog(CloudWatchLog cloudWatchLog) CloudWatch log information if logs are stored in CloudWatchType of log storageType of log storageMethods 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
Type of log storage
- Parameters:
logType- Type of log storage- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logType
Type of log storage
- Parameters:
logType- Type of log storage- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchLog
CloudWatch log information if logs are stored in CloudWatch
- Parameters:
cloudWatchLog- CloudWatch log information if logs are stored in CloudWatch- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLog
CloudWatch log information if logs are stored in CloudWatch
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:
-