Class RouteReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.refactorspaces.RouteReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouteReference>
- Enclosing interface:
RouteReference
@Stability(Stable)
public static final class RouteReference.Builder
extends Object
implements software.amazon.jsii.Builder<RouteReference>
A builder for
RouteReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) Sets the value ofRouteReference.getApplicationIdentifier()build()Builds the configured instance.environmentIdentifier(String environmentIdentifier) Sets the value ofRouteReference.getEnvironmentIdentifier()Sets the value ofRouteReference.getRouteArn()routeIdentifier(String routeIdentifier) Sets the value ofRouteReference.getRouteIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationIdentifier
@Stability(Stable) public RouteReference.Builder applicationIdentifier(String applicationIdentifier) Sets the value ofRouteReference.getApplicationIdentifier()- Parameters:
applicationIdentifier- The ApplicationIdentifier of the Route resource. This parameter is required.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public RouteReference.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofRouteReference.getEnvironmentIdentifier()- Parameters:
environmentIdentifier- The EnvironmentIdentifier of the Route resource. This parameter is required.- Returns:
this
-
routeArn
Sets the value ofRouteReference.getRouteArn()- Parameters:
routeArn- The ARN of the Route resource. This parameter is required.- Returns:
this
-
routeIdentifier
Sets the value ofRouteReference.getRouteIdentifier()- Parameters:
routeIdentifier- The RouteIdentifier of the Route resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouteReference>- Returns:
- a new instance of
RouteReference - Throws:
NullPointerException- if any required attribute was not provided
-