Class CfnAliasMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnAliasMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAliasMixinProps>
- Enclosing interface:
CfnAliasMixinProps
@Stability(Stable)
public static final class CfnAliasMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAliasMixinProps>
A builder for
CfnAliasMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAliasMixinProps.getDescription()Sets the value ofCfnAliasMixinProps.getName()routingStrategy(CfnAliasPropsMixin.RoutingStrategyProperty routingStrategy) Sets the value ofCfnAliasMixinProps.getRoutingStrategy()routingStrategy(IResolvable routingStrategy) Sets the value ofCfnAliasMixinProps.getRoutingStrategy()Sets the value ofCfnAliasMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnAliasMixinProps.getDescription()- Parameters:
description- A human-readable description of the alias.- Returns:
this
-
name
Sets the value ofCfnAliasMixinProps.getName()- Parameters:
name- A descriptive label that is associated with an alias. Alias names do not need to be unique.- Returns:
this
-
routingStrategy
Sets the value ofCfnAliasMixinProps.getRoutingStrategy()- Parameters:
routingStrategy- The routing configuration, including routing type and fleet target, for the alias.- Returns:
this
-
routingStrategy
@Stability(Stable) public CfnAliasMixinProps.Builder routingStrategy(CfnAliasPropsMixin.RoutingStrategyProperty routingStrategy) Sets the value ofCfnAliasMixinProps.getRoutingStrategy()- Parameters:
routingStrategy- The routing configuration, including routing type and fleet target, for the alias.- Returns:
this
-
tags
Sets the value ofCfnAliasMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAliasMixinProps>- Returns:
- a new instance of
CfnAliasMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-