Class UpdateExpressGatewayServiceRequest

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

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

    • serviceArn

      public final String serviceArn()

      The Amazon Resource Name (ARN) of the Express service to update.

      Returns:
      The Amazon Resource Name (ARN) of the Express service to update.
    • executionRoleArn

      public final String executionRoleArn()

      The Amazon Resource Name (ARN) of the task execution role for the Express service.

      Returns:
      The Amazon Resource Name (ARN) of the task execution role for the Express service.
    • healthCheckPath

      public final String healthCheckPath()

      The path on the container for Application Load Balancer health checks.

      Returns:
      The path on the container for Application Load Balancer health checks.
    • primaryContainer

      public final ExpressGatewayContainer primaryContainer()

      The primary container configuration for the Express service.

      Returns:
      The primary container configuration for the Express service.
    • taskRoleArn

      public final String taskRoleArn()

      The Amazon Resource Name (ARN) of the IAM role for containers in this task.

      Returns:
      The Amazon Resource Name (ARN) of the IAM role for containers in this task.
    • networkConfiguration

      public final ExpressGatewayServiceNetworkConfiguration networkConfiguration()

      The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.

      Returns:
      The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.
    • cpu

      public final String cpu()

      The number of CPU units used by the task.

      Returns:
      The number of CPU units used by the task.
    • memory

      public final String memory()

      The amount of memory (in MiB) used by the task.

      Returns:
      The amount of memory (in MiB) used by the task.
    • scalingTarget

      public final ExpressGatewayScalingTarget scalingTarget()

      The auto-scaling configuration for the Express service.

      Returns:
      The auto-scaling configuration for the Express service.
    • taskDefinitionArn

      public final String taskDefinitionArn()

      The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.

      The task definition must have a container named Main with a single TCP port mapping that includes a container port and port name. The task definition must also have FARGATE compatibility.

      If you provide a task definition ARN, you cannot also specify primaryContainer, executionRoleArn, taskRoleArn, cpu, or memory.

      Returns:
      The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.

      The task definition must have a container named Main with a single TCP port mapping that includes a container port and port name. The task definition must also have FARGATE compatibility.

      If you provide a task definition ARN, you cannot also specify primaryContainer, executionRoleArn, taskRoleArn, cpu, or memory.

    • toBuilder

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

    • serializableBuilderClass

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