Class CfnEventStreamPropsMixin.DestinationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnEventStreamPropsMixin.DestinationDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventStreamPropsMixin.DestinationDetailsProperty>
- Enclosing interface:
CfnEventStreamPropsMixin.DestinationDetailsProperty
@Stability(Stable)
public static final class CfnEventStreamPropsMixin.DestinationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventStreamPropsMixin.DestinationDetailsProperty>
A builder for
CfnEventStreamPropsMixin.DestinationDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEventStreamPropsMixin.DestinationDetailsProperty.getStatus()Sets the value ofCfnEventStreamPropsMixin.DestinationDetailsProperty.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
@Stability(Stable) public CfnEventStreamPropsMixin.DestinationDetailsProperty.Builder status(String status) Sets the value ofCfnEventStreamPropsMixin.DestinationDetailsProperty.getStatus()- Parameters:
status- The status of enabling the Kinesis stream as a destination for export.- Returns:
this
-
uri
@Stability(Stable) public CfnEventStreamPropsMixin.DestinationDetailsProperty.Builder uri(String uri) Sets the value ofCfnEventStreamPropsMixin.DestinationDetailsProperty.getUri()- Parameters:
uri- The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventStreamPropsMixin.DestinationDetailsProperty>- Returns:
- a new instance of
CfnEventStreamPropsMixin.DestinationDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-