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 Modifier and Type Class Description static interfaceUpdateCapacityProviderRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoScalingGroupProviderUpdateautoScalingGroupProvider()An object that represent the parameters to update for the Auto Scaling group capacity provider.static UpdateCapacityProviderRequest.Builderbuilder()Stringcluster()The name of the cluster that contains the capacity provider to update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()UpdateManagedInstancesProviderConfigurationmanagedInstancesProvider()The updated configuration for the Amazon ECS Managed Instances provider.Stringname()The name of the capacity provider to update.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateCapacityProviderRequest.Builder>serializableBuilderClass()UpdateCapacityProviderRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the capacity provider to update.
- Returns:
- The name of the capacity provider to update.
-
cluster
public final String 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
public final AutoScalingGroupProviderUpdate 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
public final UpdateManagedInstancesProviderConfiguration 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
public UpdateCapacityProviderRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateCapacityProviderRequest.Builder,UpdateCapacityProviderRequest>- Specified by:
toBuilderin classEcsRequest
-
builder
public static UpdateCapacityProviderRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateCapacityProviderRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-