Class CfnGameSessionQueue.DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnGameSessionQueue.DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGameSessionQueue.DestinationProperty>
- Enclosing interface:
CfnGameSessionQueue.DestinationProperty
@Stability(Stable)
public static final class CfnGameSessionQueue.DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGameSessionQueue.DestinationProperty>
A builder for
CfnGameSessionQueue.DestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationArn
(String destinationArn) Sets the value ofCfnGameSessionQueue.DestinationProperty.getDestinationArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationArn
@Stability(Stable) public CfnGameSessionQueue.DestinationProperty.Builder destinationArn(String destinationArn) Sets the value ofCfnGameSessionQueue.DestinationProperty.getDestinationArn()
- Parameters:
destinationArn
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGameSessionQueue.DestinationProperty>
- Returns:
- a new instance of
CfnGameSessionQueue.DestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-