Class 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>
  • Method Details

    • 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

      Specified by:
      toBuilder in interface ToCopyableBuilder<UpdateCapacityProviderRequest.Builder,UpdateCapacityProviderRequest>
      Specified by:
      toBuilder in class EcsRequest
    • builder

      public static UpdateCapacityProviderRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends UpdateCapacityProviderRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo