Class AliasAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.AliasAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AliasAttributes>
- Enclosing interface:
AliasAttributes
@Stability(Experimental)
public static final class AliasAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AliasAttributes>
A builder for
AliasAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAliasAttributes.getAliasArn()
Sets the value ofAliasAttributes.getAliasId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliasArn
Sets the value ofAliasAttributes.getAliasArn()
- Parameters:
aliasArn
- The ARN of the alias. At least one ofaliasArn
andaliasId
must be provided.- Returns:
this
-
aliasId
Sets the value ofAliasAttributes.getAliasId()
- Parameters:
aliasId
- The identifier of the alias. At least one ofaliasId
andaliasArn
must be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AliasAttributes>
- Returns:
- a new instance of
AliasAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-