Interface CreateAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAliasRequest.Builder,
,CreateAliasRequest> GameLiftRequest.Builder
,SdkBuilder<CreateAliasRequest.Builder,
,CreateAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A human-readable description of the alias.A descriptive label that is associated with an alias.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAliasRequest.Builder
routingStrategy
(Consumer<RoutingStrategy.Builder> routingStrategy) The routing configuration, including routing type and fleet target, for the alias.routingStrategy
(RoutingStrategy routingStrategy) The routing configuration, including routing type and fleet target, for the alias.tags
(Collection<Tag> tags) A list of labels to assign to the new alias resource.tags
(Consumer<Tag.Builder>... tags) A list of labels to assign to the new alias resource.A list of labels to assign to the new alias resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
A descriptive label that is associated with an alias. Alias names do not need to be unique.
- Parameters:
name
- A descriptive label that is associated with an alias. Alias names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description of the alias.
- Parameters:
description
- A human-readable description of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingStrategy
The routing configuration, including routing type and fleet target, for the alias.
- Parameters:
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingStrategy
default CreateAliasRequest.Builder routingStrategy(Consumer<RoutingStrategy.Builder> routingStrategy) The routing configuration, including routing type and fleet target, for the alias.
This is a convenience method that creates an instance of theRoutingStrategy.Builder
avoiding the need to create one manually viaRoutingStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingStrategy(RoutingStrategy)
.- Parameters:
routingStrategy
- a consumer that will call methods onRoutingStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
- Parameters:
tags
- A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
- Parameters:
tags
- A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-