Class KinesisDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.logs.destinations.KinesisDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KinesisDestinationProps>
- Enclosing interface:
KinesisDestinationProps
@Stability(Stable)
public static final class KinesisDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<KinesisDestinationProps>
A builder for
KinesisDestinationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofKinesisDestinationProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the value ofKinesisDestinationProps.getRole()
- Parameters:
role
- The role to assume to write log events to the destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KinesisDestinationProps>
- Returns:
- a new instance of
KinesisDestinationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-