Interface CreateEnvironmentHostRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEnvironmentHostRequest.Builder,,CreateEnvironmentHostRequest> EvsRequest.Builder,SdkBuilder<CreateEnvironmentHostRequest.Builder,,CreateEnvironmentHostRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEnvironmentHostRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) environmentId(String environmentId) A unique ID for the environment that the host is added to.The host that is created and added to the environment.host(HostInfoForCreate host) The host that is created and added to the environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.evs.model.EvsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the host creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
- Parameters:
clientToken-This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the host creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
A unique ID for the environment that the host is added to.
- Parameters:
environmentId- A unique ID for the environment that the host is added to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
host
The host that is created and added to the environment.
- Parameters:
host- The host that is created and added to the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
host
The host that is created and added to the environment.
This is a convenience method that creates an instance of theHostInfoForCreate.Builderavoiding the need to create one manually viaHostInfoForCreate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohost(HostInfoForCreate).- Parameters:
host- a consumer that will call methods onHostInfoForCreate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateEnvironmentHostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEnvironmentHostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-