Class CfnEndpoint.SecondaryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnEndpoint.SecondaryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.SecondaryProperty>
- Enclosing interface:
- CfnEndpoint.SecondaryProperty
@Stability(Stable)
public static final class CfnEndpoint.SecondaryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.SecondaryProperty>
A builder for
CfnEndpoint.SecondaryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEndpoint.SecondaryProperty.getRoute()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
route
Sets the value ofCfnEndpoint.SecondaryProperty.getRoute()- Parameters:
route- Defines the secondary Region. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpoint.SecondaryProperty>- Returns:
- a new instance of
CfnEndpoint.SecondaryProperty - Throws:
NullPointerException- if any required attribute was not provided
-