Interface UpdateEnvironmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContinuumRequest.Builder,CopyableBuilder<UpdateEnvironmentRequest.Builder,,UpdateEnvironmentRequest> SdkBuilder<UpdateEnvironmentRequest.Builder,,UpdateEnvironmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEnvironmentRequest
@Mutable
@NotThreadSafe
public static interface UpdateEnvironmentRequest.Builder
extends ContinuumRequest.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateEnvironmentRequest.Builderconfiguration(Consumer<UpdateEnvironmentConfiguration.Builder> configuration) Type-specific configuration changes.configuration(UpdateEnvironmentConfiguration configuration) Type-specific configuration changes.environmentId(String environmentId) The unique identifier of the environment to update.The new customer-visible name.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.services.continuum.model.ContinuumRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
environmentId
The unique identifier of the environment to update.
- Parameters:
environmentId- The unique identifier of the environment to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new customer-visible name.
- Parameters:
name- The new customer-visible name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Type-specific configuration changes. Omission preserves the configuration.
- Parameters:
configuration- Type-specific configuration changes. Omission preserves the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateEnvironmentRequest.Builder configuration(Consumer<UpdateEnvironmentConfiguration.Builder> configuration) Type-specific configuration changes. Omission preserves the configuration.
This is a convenience method that creates an instance of theUpdateEnvironmentConfiguration.Builderavoiding the need to create one manually viaUpdateEnvironmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(UpdateEnvironmentConfiguration).- Parameters:
configuration- a consumer that will call methods onUpdateEnvironmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEnvironmentRequest.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
UpdateEnvironmentRequest.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.
-