Class CfnMaintenanceWindowTask.LoggingInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTask.LoggingInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMaintenanceWindowTask.LoggingInfoProperty>
- Enclosing interface:
- CfnMaintenanceWindowTask.LoggingInfoProperty
@Stability(Stable)
public static final class CfnMaintenanceWindowTask.LoggingInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMaintenanceWindowTask.LoggingInfoProperty>
A builder for
CfnMaintenanceWindowTask.LoggingInfoProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMaintenanceWindowTask.LoggingInfoProperty.getRegion()
Sets the value ofCfnMaintenanceWindowTask.LoggingInfoProperty.getS3Bucket()
Sets the value ofCfnMaintenanceWindowTask.LoggingInfoProperty.getS3Prefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
region
@Stability(Stable) public CfnMaintenanceWindowTask.LoggingInfoProperty.Builder region(String region) Sets the value ofCfnMaintenanceWindowTask.LoggingInfoProperty.getRegion()
- Parameters:
region
- The AWS Region where the S3 bucket is located. This parameter is required.- Returns:
this
-
s3Bucket
@Stability(Stable) public CfnMaintenanceWindowTask.LoggingInfoProperty.Builder s3Bucket(String s3Bucket) Sets the value ofCfnMaintenanceWindowTask.LoggingInfoProperty.getS3Bucket()
- Parameters:
s3Bucket
- The name of an S3 bucket where execution logs are stored. This parameter is required.- Returns:
this
-
s3Prefix
@Stability(Stable) public CfnMaintenanceWindowTask.LoggingInfoProperty.Builder s3Prefix(String s3Prefix) Sets the value ofCfnMaintenanceWindowTask.LoggingInfoProperty.getS3Prefix()
- Parameters:
s3Prefix
- The Amazon S3 bucket subfolder.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMaintenanceWindowTask.LoggingInfoProperty>
- Returns:
- a new instance of
CfnMaintenanceWindowTask.LoggingInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-