Class InfrastructureConfigurationLogging.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.InfrastructureConfigurationLogging.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InfrastructureConfigurationLogging>
- Enclosing interface:
InfrastructureConfigurationLogging
@Stability(Experimental)
public static final class InfrastructureConfigurationLogging.Builder
extends Object
implements software.amazon.jsii.Builder<InfrastructureConfigurationLogging>
A builder for
InfrastructureConfigurationLogging-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofInfrastructureConfigurationLogging.getS3Bucket()s3KeyPrefix(String s3KeyPrefix) Sets the value ofInfrastructureConfigurationLogging.getS3KeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Bucket
@Stability(Experimental) public InfrastructureConfigurationLogging.Builder s3Bucket(IBucket s3Bucket) Sets the value ofInfrastructureConfigurationLogging.getS3Bucket()- Parameters:
s3Bucket- The S3 logging bucket to use for detailed build logging. This parameter is required.- Returns:
this
-
s3KeyPrefix
@Stability(Experimental) public InfrastructureConfigurationLogging.Builder s3KeyPrefix(String s3KeyPrefix) Sets the value ofInfrastructureConfigurationLogging.getS3KeyPrefix()- Parameters:
s3KeyPrefix- The S3 logging prefix to use for detailed build logging.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InfrastructureConfigurationLogging>- Returns:
- a new instance of
InfrastructureConfigurationLogging - Throws:
NullPointerException- if any required attribute was not provided
-