Interface VerifiedAccessLogCloudWatchLogsDestination.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<VerifiedAccessLogCloudWatchLogsDestination.Builder,VerifiedAccessLogCloudWatchLogsDestination>
,SdkBuilder<VerifiedAccessLogCloudWatchLogsDestination.Builder,VerifiedAccessLogCloudWatchLogsDestination>
,SdkPojo
- Enclosing class:
- VerifiedAccessLogCloudWatchLogsDestination
public static interface VerifiedAccessLogCloudWatchLogsDestination.Builder extends SdkPojo, CopyableBuilder<VerifiedAccessLogCloudWatchLogsDestination.Builder,VerifiedAccessLogCloudWatchLogsDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VerifiedAccessLogCloudWatchLogsDestination.Builder
deliveryStatus(Consumer<VerifiedAccessLogDeliveryStatus.Builder> deliveryStatus)
The delivery status for access logs.VerifiedAccessLogCloudWatchLogsDestination.Builder
deliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status for access logs.VerifiedAccessLogCloudWatchLogsDestination.Builder
enabled(Boolean enabled)
Indicates whether logging is enabled.VerifiedAccessLogCloudWatchLogsDestination.Builder
logGroup(String logGroup)
The ID of the CloudWatch Logs log group.-
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, sdkFields
-
-
-
-
Method Detail
-
enabled
VerifiedAccessLogCloudWatchLogsDestination.Builder enabled(Boolean enabled)
Indicates whether logging is enabled.
- Parameters:
enabled
- Indicates whether logging is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryStatus
VerifiedAccessLogCloudWatchLogsDestination.Builder deliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status for access logs.
- Parameters:
deliveryStatus
- The delivery status for access logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryStatus
default VerifiedAccessLogCloudWatchLogsDestination.Builder deliveryStatus(Consumer<VerifiedAccessLogDeliveryStatus.Builder> deliveryStatus)
The delivery status for access logs.
This is a convenience method that creates an instance of theVerifiedAccessLogDeliveryStatus.Builder
avoiding the need to create one manually viaVerifiedAccessLogDeliveryStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryStatus(VerifiedAccessLogDeliveryStatus)
.- Parameters:
deliveryStatus
- a consumer that will call methods onVerifiedAccessLogDeliveryStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deliveryStatus(VerifiedAccessLogDeliveryStatus)
-
logGroup
VerifiedAccessLogCloudWatchLogsDestination.Builder logGroup(String logGroup)
The ID of the CloudWatch Logs log group.
- Parameters:
logGroup
- The ID of the CloudWatch Logs log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-