Class CfnChannelPropsMixin.DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.CfnChannelPropsMixin.DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.DestinationProperty>
- Enclosing interface:
CfnChannelPropsMixin.DestinationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.DestinationProperty>
A builder for
CfnChannelPropsMixin.DestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.DestinationProperty.getLocation()Sets the value ofCfnChannelPropsMixin.DestinationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Stable) public CfnChannelPropsMixin.DestinationProperty.Builder location(String location) Sets the value ofCfnChannelPropsMixin.DestinationProperty.getLocation()- Parameters:
location- For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the AWS service.- Returns:
this
-
type
Sets the value ofCfnChannelPropsMixin.DestinationProperty.getType()- Parameters:
type- The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value isEVENT_DATA_STORE. For service-linked channels, the value isAWS_SERVICE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.DestinationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.DestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-