com.amazonaws.services.autoscaling.model

## クラス UpdateAutoScalingGroupRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.autoscaling.model.UpdateAutoScalingGroupRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class UpdateAutoScalingGroupRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `UpdateAutoScalingGroup operation`.

  Updates the configuration for the specified AutoScalingGroup.

  NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling DisableMetricsCollection.

  The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Triggers that are currently in progress aren't affected.

  NOTE: If a new value is specified for MinSize without specifying the value for DesiredCapacity, and if the new MinSize is larger than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize. If a new value is specified for MaxSize without specifying the value for DesiredCapacity, and the new MaxSize is smaller than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All other optional parameters are left unchanged if not passed in the request.

  関連項目:
    `AmazonAutoScaling.updateAutoScalingGroup(UpdateAutoScalingGroupRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `UpdateAutoScalingGroupRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAutoScalingGroupName()` The name of the Auto Scaling group.
    `java.util.List<java.lang.String>` | `getAvailabilityZones()` Availability Zones for the group.
    `java.lang.Integer` | `getDefaultCooldown()` The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
    `java.lang.Integer` | `getDesiredCapacity()` The desired capacity for the Auto Scaling group.
    `java.lang.Integer` | `getHealthCheckGracePeriod()` The length of time that Auto Scaling waits before checking an instance's health status.
    `java.lang.String` | `getHealthCheckType()` The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
    `java.lang.String` | `getLaunchConfigurationName()` The name of the launch configuration.
    `java.lang.Integer` | `getMaxSize()` The maximum size of the Auto Scaling group.
    `java.lang.Integer` | `getMinSize()` The minimum size of the Auto Scaling group.
    `java.lang.String` | `getPlacementGroup()` The name of the cluster placement group, if applicable.
    `java.util.List<java.lang.String>` | `getTerminationPolicies()` A standalone termination policy or a list of termination policies used to select the instance to terminate.
    `java.lang.String` | `getVPCZoneIdentifier()` The subnet identifier for the Amazon VPC connection, if applicable.
    `int` | `hashCode()`
    `void` | `setAutoScalingGroupName(java.lang.String autoScalingGroupName)` The name of the Auto Scaling group.
    `void` | `setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` Availability Zones for the group.
    `void` | `setDefaultCooldown(java.lang.Integer defaultCooldown)` The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
    `void` | `setDesiredCapacity(java.lang.Integer desiredCapacity)` The desired capacity for the Auto Scaling group.
    `void` | `setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)` The length of time that Auto Scaling waits before checking an instance's health status.
    `void` | `setHealthCheckType(java.lang.String healthCheckType)` The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
    `void` | `setLaunchConfigurationName(java.lang.String launchConfigurationName)` The name of the launch configuration.
    `void` | `setMaxSize(java.lang.Integer maxSize)` The maximum size of the Auto Scaling group.
    `void` | `setMinSize(java.lang.Integer minSize)` The minimum size of the Auto Scaling group.
    `void` | `setPlacementGroup(java.lang.String placementGroup)` The name of the cluster placement group, if applicable.
    `void` | `setTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)` A standalone termination policy or a list of termination policies used to select the instance to terminate.
    `void` | `setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)` The subnet identifier for the Amazon VPC connection, if applicable.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UpdateAutoScalingGroupRequest` | `withAutoScalingGroupName(java.lang.String autoScalingGroupName)` The name of the Auto Scaling group.
    `UpdateAutoScalingGroupRequest` | `withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` Availability Zones for the group.
    `UpdateAutoScalingGroupRequest` | `withAvailabilityZones(java.lang.String... availabilityZones)` Availability Zones for the group.
    `UpdateAutoScalingGroupRequest` | `withDefaultCooldown(java.lang.Integer defaultCooldown)` The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
    `UpdateAutoScalingGroupRequest` | `withDesiredCapacity(java.lang.Integer desiredCapacity)` The desired capacity for the Auto Scaling group.
    `UpdateAutoScalingGroupRequest` | `withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)` The length of time that Auto Scaling waits before checking an instance's health status.
    `UpdateAutoScalingGroupRequest` | `withHealthCheckType(java.lang.String healthCheckType)` The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.
    `UpdateAutoScalingGroupRequest` | `withLaunchConfigurationName(java.lang.String launchConfigurationName)` The name of the launch configuration.
    `UpdateAutoScalingGroupRequest` | `withMaxSize(java.lang.Integer maxSize)` The maximum size of the Auto Scaling group.
    `UpdateAutoScalingGroupRequest` | `withMinSize(java.lang.Integer minSize)` The minimum size of the Auto Scaling group.
    `UpdateAutoScalingGroupRequest` | `withPlacementGroup(java.lang.String placementGroup)` The name of the cluster placement group, if applicable.
    `UpdateAutoScalingGroupRequest` | `withTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)` A standalone termination policy or a list of termination policies used to select the instance to terminate.
    `UpdateAutoScalingGroupRequest` | `withTerminationPolicies(java.lang.String... terminationPolicies)` A standalone termination policy or a list of termination policies used to select the instance to terminate.
    `UpdateAutoScalingGroupRequest` | `withVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)` The subnet identifier for the Amazon VPC connection, if applicable.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### UpdateAutoScalingGroupRequest

          public UpdateAutoScalingGroupRequest()

  - ### メソッドの詳細

    - #### getAutoScalingGroupName

          public java.lang.String getAutoScalingGroupName()

      The name of the Auto Scaling group.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The name of the Auto Scaling group.

    - #### setAutoScalingGroupName

          public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)

      The name of the Auto Scaling group.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `autoScalingGroupName` - The name of the Auto Scaling group.

    - #### withAutoScalingGroupName

          public UpdateAutoScalingGroupRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)

      The name of the Auto Scaling group.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `autoScalingGroupName` - The name of the Auto Scaling group.

    - #### getLaunchConfigurationName

          public java.lang.String getLaunchConfigurationName()

      The name of the launch configuration.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The name of the launch configuration.

    - #### setLaunchConfigurationName

          public void setLaunchConfigurationName(java.lang.String launchConfigurationName)

      The name of the launch configuration.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationName` - The name of the launch configuration.

    - #### withLaunchConfigurationName

          public UpdateAutoScalingGroupRequest withLaunchConfigurationName(java.lang.String launchConfigurationName)

      The name of the launch configuration.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationName` - The name of the launch configuration.

    - #### getMinSize

          public java.lang.Integer getMinSize()

      The minimum size of the Auto Scaling group.
      戻り値:
        The minimum size of the Auto Scaling group.

    - #### setMinSize

          public void setMinSize(java.lang.Integer minSize)

      The minimum size of the Auto Scaling group.
      パラメータ:
        `minSize` - The minimum size of the Auto Scaling group.

    - #### withMinSize

          public UpdateAutoScalingGroupRequest withMinSize(java.lang.Integer minSize)

      The minimum size of the Auto Scaling group.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `minSize` - The minimum size of the Auto Scaling group.

    - #### getMaxSize

          public java.lang.Integer getMaxSize()

      The maximum size of the Auto Scaling group.
      戻り値:
        The maximum size of the Auto Scaling group.

    - #### setMaxSize

          public void setMaxSize(java.lang.Integer maxSize)

      The maximum size of the Auto Scaling group.
      パラメータ:
        `maxSize` - The maximum size of the Auto Scaling group.

    - #### withMaxSize

          public UpdateAutoScalingGroupRequest withMaxSize(java.lang.Integer maxSize)

      The maximum size of the Auto Scaling group.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `maxSize` - The maximum size of the Auto Scaling group.

    - #### getDesiredCapacity

          public java.lang.Integer getDesiredCapacity()

      The desired capacity for the Auto Scaling group.
      戻り値:
        The desired capacity for the Auto Scaling group.

    - #### setDesiredCapacity

          public void setDesiredCapacity(java.lang.Integer desiredCapacity)

      The desired capacity for the Auto Scaling group.
      パラメータ:
        `desiredCapacity` - The desired capacity for the Auto Scaling group.

    - #### withDesiredCapacity

          public UpdateAutoScalingGroupRequest withDesiredCapacity(java.lang.Integer desiredCapacity)

      The desired capacity for the Auto Scaling group.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `desiredCapacity` - The desired capacity for the Auto Scaling group.

    - #### getDefaultCooldown

          public java.lang.Integer getDefaultCooldown()

      The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
      戻り値:
        The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

    - #### setDefaultCooldown

          public void setDefaultCooldown(java.lang.Integer defaultCooldown)

      The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
      パラメータ:
        `defaultCooldown` - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

    - #### withDefaultCooldown

          public UpdateAutoScalingGroupRequest withDefaultCooldown(java.lang.Integer defaultCooldown)

      The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `defaultCooldown` - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.

    - #### getAvailabilityZones

          public java.util.List<java.lang.String> getAvailabilityZones()

      Availability Zones for the group.

      Constraints:
      Length: 1 -

      戻り値:
        Availability Zones for the group.

    - #### setAvailabilityZones

          public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)

      Availability Zones for the group.

      Constraints:
      Length: 1 -

      パラメータ:
        `availabilityZones` - Availability Zones for the group.

    - #### withAvailabilityZones

          public UpdateAutoScalingGroupRequest withAvailabilityZones(java.lang.String... availabilityZones)

      Availability Zones for the group.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 -

      パラメータ:
        `availabilityZones` - Availability Zones for the group.

    - #### withAvailabilityZones

          public UpdateAutoScalingGroupRequest withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)

      Availability Zones for the group.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 -

      パラメータ:
        `availabilityZones` - Availability Zones for the group.

    - #### getHealthCheckType

          public java.lang.String getHealthCheckType()

      The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

      Constraints:
      Length: 1 - 32
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

    - #### setHealthCheckType

          public void setHealthCheckType(java.lang.String healthCheckType)

      The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

      Constraints:
      Length: 1 - 32
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `healthCheckType` - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

    - #### withHealthCheckType

          public UpdateAutoScalingGroupRequest withHealthCheckType(java.lang.String healthCheckType)

      The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 32
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `healthCheckType` - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing.

    - #### getHealthCheckGracePeriod

          public java.lang.Integer getHealthCheckGracePeriod()

      The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.
      戻り値:
        The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

    - #### setHealthCheckGracePeriod

          public void setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)

      The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.
      パラメータ:
        `healthCheckGracePeriod` - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

    - #### withHealthCheckGracePeriod

          public UpdateAutoScalingGroupRequest withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)

      The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `healthCheckGracePeriod` - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.

    - #### getPlacementGroup

          public java.lang.String getPlacementGroup()

      The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

    - #### setPlacementGroup

          public void setPlacementGroup(java.lang.String placementGroup)

      The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `placementGroup` - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

    - #### withPlacementGroup

          public UpdateAutoScalingGroupRequest withPlacementGroup(java.lang.String placementGroup)

      The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `placementGroup` - The name of the cluster placement group, if applicable. For more information, go to Using Cluster Instances in the Amazon EC2 User Guide.

    - #### getVPCZoneIdentifier

          public java.lang.String getVPCZoneIdentifier()

      The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

      When you specify `VPCZoneIdentifier` with `AvailabilityZones`, ensure that the subnets' Availability Zones match the values you specify for `AvailabilityZones`.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

        When you specify `VPCZoneIdentifier` with `AvailabilityZones`, ensure that the subnets' Availability Zones match the values you specify for `AvailabilityZones`.

    - #### setVPCZoneIdentifier

          public void setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)

      The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

      When you specify `VPCZoneIdentifier` with `AvailabilityZones`, ensure that the subnets' Availability Zones match the values you specify for `AvailabilityZones`.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `vPCZoneIdentifier` - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

        When you specify `VPCZoneIdentifier` with `AvailabilityZones`, ensure that the subnets' Availability Zones match the values you specify for `AvailabilityZones`.

    - #### withVPCZoneIdentifier

          public UpdateAutoScalingGroupRequest withVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)

      The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

      When you specify `VPCZoneIdentifier` with `AvailabilityZones`, ensure that the subnets' Availability Zones match the values you specify for `AvailabilityZones`.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `vPCZoneIdentifier` - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list.

        When you specify `VPCZoneIdentifier` with `AvailabilityZones`, ensure that the subnets' Availability Zones match the values you specify for `AvailabilityZones`.

    - #### getTerminationPolicies

          public java.util.List<java.lang.String> getTerminationPolicies()

      A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

      For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

      戻り値:
        A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

        For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

    - #### setTerminationPolicies

          public void setTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)

      A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

      For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

      パラメータ:
        `terminationPolicies` - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

        For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

    - #### withTerminationPolicies

          public UpdateAutoScalingGroupRequest withTerminationPolicies(java.lang.String... terminationPolicies)

      A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

      For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `terminationPolicies` - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

        For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

    - #### withTerminationPolicies

          public UpdateAutoScalingGroupRequest withTerminationPolicies(java.util.Collection<java.lang.String> terminationPolicies)

      A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

      For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `terminationPolicies` - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

        For more information on creating a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`