Class CfnImage.ImageLoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnImage.ImageLoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImage.ImageLoggingConfigurationProperty>
- Enclosing interface:
CfnImage.ImageLoggingConfigurationProperty
@Stability(Stable)
public static final class CfnImage.ImageLoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImage.ImageLoggingConfigurationProperty>
A builder for
CfnImage.ImageLoggingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logGroupName(String logGroupName) Sets the value ofCfnImage.ImageLoggingConfigurationProperty.getLogGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupName
@Stability(Stable) public CfnImage.ImageLoggingConfigurationProperty.Builder logGroupName(String logGroupName) Sets the value ofCfnImage.ImageLoggingConfigurationProperty.getLogGroupName()- Parameters:
logGroupName- The log group name that Image Builder uses for image creation. If not specified, the log group name defaults to/aws/imagebuilder/image-name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImage.ImageLoggingConfigurationProperty>- Returns:
- a new instance of
CfnImage.ImageLoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-