Class UpdateTaskSetRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<UpdateTaskSetRequest.Builder,UpdateTaskSetRequest>

@Generated("software.amazon.awssdk:codegen") public final class UpdateTaskSetRequest extends EcsRequest implements ToCopyableBuilder<UpdateTaskSetRequest.Builder,UpdateTaskSetRequest>
  • Method Details

    • cluster

      public final String cluster()

      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.

      Returns:
      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in.
    • service

      public final String service()

      The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.

      Returns:
      The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.
    • taskSet

      public final String taskSet()

      The short name or full Amazon Resource Name (ARN) of the task set to update.

      Returns:
      The short name or full Amazon Resource Name (ARN) of the task set to update.
    • scale

      public final Scale scale()

      A floating-point percentage of the desired number of tasks to place and keep running in the task set.

      Returns:
      A floating-point percentage of the desired number of tasks to place and keep running in the task set.
    • toBuilder

      public UpdateTaskSetRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<UpdateTaskSetRequest.Builder,UpdateTaskSetRequest>
      Specified by:
      toBuilder in class EcsRequest
    • builder

      public static UpdateTaskSetRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends UpdateTaskSetRequest.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