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