Class CfnInfrastructureConfiguration.LoggingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnInfrastructureConfiguration.LoggingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInfrastructureConfiguration.LoggingProperty>
- Enclosing interface:
CfnInfrastructureConfiguration.LoggingProperty
@Stability(Stable)
public static final class CfnInfrastructureConfiguration.LoggingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInfrastructureConfiguration.LoggingProperty>
A builder for
CfnInfrastructureConfiguration.LoggingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Logs
(IResolvable s3Logs) Sets the value ofCfnInfrastructureConfiguration.LoggingProperty.getS3Logs()
Sets the value ofCfnInfrastructureConfiguration.LoggingProperty.getS3Logs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Logs
@Stability(Stable) public CfnInfrastructureConfiguration.LoggingProperty.Builder s3Logs(IResolvable s3Logs) Sets the value ofCfnInfrastructureConfiguration.LoggingProperty.getS3Logs()
- Parameters:
s3Logs
- The Amazon S3 logging configuration.- Returns:
this
-
s3Logs
@Stability(Stable) public CfnInfrastructureConfiguration.LoggingProperty.Builder s3Logs(CfnInfrastructureConfiguration.S3LogsProperty s3Logs) Sets the value ofCfnInfrastructureConfiguration.LoggingProperty.getS3Logs()
- Parameters:
s3Logs
- The Amazon S3 logging configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInfrastructureConfiguration.LoggingProperty>
- Returns:
- a new instance of
CfnInfrastructureConfiguration.LoggingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-