Class CfnMicrovmImage.LoggingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnMicrovmImage.LoggingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMicrovmImage.LoggingProperty>
- Enclosing interface:
CfnMicrovmImage.LoggingProperty
@Stability(Stable)
public static final class CfnMicrovmImage.LoggingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMicrovmImage.LoggingProperty>
A builder for
CfnMicrovmImage.LoggingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatch(IResolvable cloudWatch) Sets the value ofCfnMicrovmImage.LoggingProperty.getCloudWatch()cloudWatch(CfnMicrovmImage.CloudWatchLoggingProperty cloudWatch) Sets the value ofCfnMicrovmImage.LoggingProperty.getCloudWatch()Sets the value ofCfnMicrovmImage.LoggingProperty.getDisabled()disabled(IResolvable disabled) Sets the value ofCfnMicrovmImage.LoggingProperty.getDisabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatch
@Stability(Stable) public CfnMicrovmImage.LoggingProperty.Builder cloudWatch(IResolvable cloudWatch) Sets the value ofCfnMicrovmImage.LoggingProperty.getCloudWatch()- Parameters:
cloudWatch- the value to be set.- Returns:
this
-
cloudWatch
@Stability(Stable) public CfnMicrovmImage.LoggingProperty.Builder cloudWatch(CfnMicrovmImage.CloudWatchLoggingProperty cloudWatch) Sets the value ofCfnMicrovmImage.LoggingProperty.getCloudWatch()- Parameters:
cloudWatch- the value to be set.- Returns:
this
-
disabled
Sets the value ofCfnMicrovmImage.LoggingProperty.getDisabled()- Parameters:
disabled- the value to be set.- Returns:
this
-
disabled
Sets the value ofCfnMicrovmImage.LoggingProperty.getDisabled()- Parameters:
disabled- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMicrovmImage.LoggingProperty>- Returns:
- a new instance of
CfnMicrovmImage.LoggingProperty - Throws:
NullPointerException- if any required attribute was not provided
-