Class UpdateCapacityProviderRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.ecs.model.EcsRequest
software.amazon.awssdk.services.ecs.model.UpdateCapacityProviderRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateCapacityProviderRequest.Builder,UpdateCapacityProviderRequest>
@Generated("software.amazon.awssdk:codegen")
public final class UpdateCapacityProviderRequest
extends EcsRequest
implements ToCopyableBuilder<UpdateCapacityProviderRequest.Builder,UpdateCapacityProviderRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAn object that represent the parameters to update for the Auto Scaling group capacity provider.builder()final Stringcluster()The name of the cluster that contains the capacity provider to update.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The updated configuration for the Amazon ECS Managed Instances provider.final Stringname()The name of the capacity provider to update.static Class<? extends UpdateCapacityProviderRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the capacity provider to update.
- Returns:
- The name of the capacity provider to update.
-
cluster
The name of the cluster that contains the capacity provider to update. Managed instances capacity providers are cluster-scoped and can only be updated within their associated cluster.
- Returns:
- The name of the cluster that contains the capacity provider to update. Managed instances capacity providers are cluster-scoped and can only be updated within their associated cluster.
-
autoScalingGroupProvider
An object that represent the parameters to update for the Auto Scaling group capacity provider.
- Returns:
- An object that represent the parameters to update for the Auto Scaling group capacity provider.
-
managedInstancesProvider
The updated configuration for the Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes take effect for new instances launched after the update.
- Returns:
- The updated configuration for the Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes take effect for new instances launched after the update.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateCapacityProviderRequest.Builder,UpdateCapacityProviderRequest> - Specified by:
toBuilderin classEcsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-