Class CfnDeployment.AccessLogSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDeployment.AccessLogSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment.AccessLogSettingProperty>
- Enclosing interface:
CfnDeployment.AccessLogSettingProperty
@Stability(Stable)
public static final class CfnDeployment.AccessLogSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment.AccessLogSettingProperty>
A builder for
CfnDeployment.AccessLogSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationArn(String destinationArn) Sets the value ofCfnDeployment.AccessLogSettingProperty.getDestinationArn()Sets the value ofCfnDeployment.AccessLogSettingProperty.getFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
@Stability(Stable) public CfnDeployment.AccessLogSettingProperty.Builder destinationArn(String destinationArn) Sets the value ofCfnDeployment.AccessLogSettingProperty.getDestinationArn()- Parameters:
destinationArn- The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin withamazon-apigateway-.- Returns:
this
-
format
Sets the value ofCfnDeployment.AccessLogSettingProperty.getFormat()- Parameters:
format- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least$context.requestId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeployment.AccessLogSettingProperty>- Returns:
- a new instance of
CfnDeployment.AccessLogSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-