Interface UpdateServiceEnvironmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<UpdateServiceEnvironmentRequest.Builder,,UpdateServiceEnvironmentRequest> SdkBuilder<UpdateServiceEnvironmentRequest.Builder,,UpdateServiceEnvironmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateServiceEnvironmentRequest
@Mutable
@NotThreadSafe
public static interface UpdateServiceEnvironmentRequest.Builder
extends BatchRequest.Builder, SdkPojo, CopyableBuilder<UpdateServiceEnvironmentRequest.Builder,UpdateServiceEnvironmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityLimits(Collection<CapacityLimit> capacityLimits) The capacity limits for the service environment.capacityLimits(Consumer<CapacityLimit.Builder>... capacityLimits) The capacity limits for the service environment.capacityLimits(CapacityLimit... capacityLimits) The capacity limits for the service environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceEnvironment(String serviceEnvironment) The name or ARN of the service environment to update.The state of the service environment.state(ServiceEnvironmentState state) The state of the service environment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.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
-
serviceEnvironment
The name or ARN of the service environment to update.
- Parameters:
serviceEnvironment- The name or ARN of the service environment to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the service environment.
- Parameters:
state- The state of the service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the service environment.
- Parameters:
state- The state of the service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityLimits
The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- Parameters:
capacityLimits- The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- Parameters:
capacityLimits- The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
UpdateServiceEnvironmentRequest.Builder capacityLimits(Consumer<CapacityLimit.Builder>... capacityLimits) The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
This is a convenience method that creates an instance of theCapacityLimit.Builderavoiding the need to create one manually viaCapacityLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityLimits(List<CapacityLimit>).- Parameters:
capacityLimits- a consumer that will call methods onCapacityLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateServiceEnvironmentRequest.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
UpdateServiceEnvironmentRequest.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.
-