Class CfnAccessLogSubscriptionProps.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnAccessLogSubscriptionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessLogSubscriptionProps>
- Enclosing interface:
- CfnAccessLogSubscriptionProps
@Stability(Stable)
public static final class CfnAccessLogSubscriptionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessLogSubscriptionProps>
A builder for
CfnAccessLogSubscriptionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationArn(String destinationArn) Sets the value ofCfnAccessLogSubscriptionProps.getDestinationArn()resourceIdentifier(String resourceIdentifier) Sets the value ofCfnAccessLogSubscriptionProps.getResourceIdentifier()Sets the value ofCfnAccessLogSubscriptionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
@Stability(Stable) public CfnAccessLogSubscriptionProps.Builder destinationArn(String destinationArn) Sets the value ofCfnAccessLogSubscriptionProps.getDestinationArn()- Parameters:
destinationArn- The Amazon Resource Name (ARN) of the destination. This parameter is required. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.- Returns:
this
-
resourceIdentifier
@Stability(Stable) public CfnAccessLogSubscriptionProps.Builder resourceIdentifier(String resourceIdentifier) Sets the value ofCfnAccessLogSubscriptionProps.getResourceIdentifier()- Parameters:
resourceIdentifier- The ID or Amazon Resource Name (ARN) of the service network or service.- Returns:
this
-
tags
Sets the value ofCfnAccessLogSubscriptionProps.getTags()- Parameters:
tags- The tags for the access log subscription.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessLogSubscriptionProps>- Returns:
- a new instance of
CfnAccessLogSubscriptionProps - Throws:
NullPointerException- if any required attribute was not provided
-