Class CfnEventStream.DestinationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnEventStream.DestinationDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventStream.DestinationDetailsProperty>
- Enclosing interface:
CfnEventStream.DestinationDetailsProperty
@Stability(Stable)
public static final class CfnEventStream.DestinationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventStream.DestinationDetailsProperty>
A builder for
CfnEventStream.DestinationDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEventStream.DestinationDetailsProperty.getStatus()Sets the value ofCfnEventStream.DestinationDetailsProperty.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnEventStream.DestinationDetailsProperty.getStatus()- Parameters:
status- The status of enabling the Kinesis stream as a destination for export. This parameter is required.- Returns:
this
-
uri
Sets the value ofCfnEventStream.DestinationDetailsProperty.getUri()- Parameters:
uri- The StreamARN of the destination to deliver profile events to. This parameter is required. 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<CfnEventStream.DestinationDetailsProperty>- Returns:
- a new instance of
CfnEventStream.DestinationDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-