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