Class CfnInfrastructureConfiguration.S3LogsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInfrastructureConfiguration.S3LogsProperty>
- Enclosing interface:
CfnInfrastructureConfiguration.S3LogsProperty
@Stability(Stable)
public static final class CfnInfrastructureConfiguration.S3LogsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInfrastructureConfiguration.S3LogsProperty>
A builder for
CfnInfrastructureConfiguration.S3LogsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.s3BucketName(String s3BucketName) Sets the value ofCfnInfrastructureConfiguration.S3LogsProperty.getS3BucketName()s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnInfrastructureConfiguration.S3LogsProperty.getS3KeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3BucketName
@Stability(Stable) public CfnInfrastructureConfiguration.S3LogsProperty.Builder s3BucketName(String s3BucketName) Sets the value ofCfnInfrastructureConfiguration.S3LogsProperty.getS3BucketName()- Parameters:
s3BucketName- The S3 bucket in which to store the logs.- Returns:
this
-
s3KeyPrefix
@Stability(Stable) public CfnInfrastructureConfiguration.S3LogsProperty.Builder s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnInfrastructureConfiguration.S3LogsProperty.getS3KeyPrefix()- Parameters:
s3KeyPrefix- The Amazon S3 path to the bucket where the logs are stored.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInfrastructureConfiguration.S3LogsProperty>- Returns:
- a new instance of
CfnInfrastructureConfiguration.S3LogsProperty - Throws:
NullPointerException- if any required attribute was not provided
-