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