com.amazonaws.services.autoscaling.model

## クラス Activity

- java.lang.Object
- - com.amazonaws.services.autoscaling.model.Activity

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

      public class Activity
      extends java.lang.Object
      implements java.io.Serializable

  A scaling Activity is a long-running process that represents a change to your AutoScalingGroup, such as changing the size of the group. It can also be a process to replace an instance, or a process to perform any other long-running operations supported by the API.

  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getActivityId()` Specifies the ID of the activity.
    `java.lang.String` | `getAutoScalingGroupName()` The name of the Auto Scaling group.
    `java.lang.String` | `getCause()` Contains the reason the activity was begun.
    `java.lang.String` | `getDescription()` Contains a friendly, more verbose description of the scaling activity.
    `java.lang.String` | `getDetails()` Contains details of the scaling activity.
    `java.util.Date` | `getEndTime()` Provides the end time of this activity.
    `java.lang.Integer` | `getProgress()` Specifies a value between 0 and 100 that indicates the progress of the activity.
    `java.util.Date` | `getStartTime()` Provides the start time of this activity.
    `java.lang.String` | `getStatusCode()` Contains the current status of the activity.
    `java.lang.String` | `getStatusMessage()` Contains a friendly, more verbose description of the activity status.
    `int` | `hashCode()`
    `void` | `setActivityId(java.lang.String activityId)` Specifies the ID of the activity.
    `void` | `setAutoScalingGroupName(java.lang.String autoScalingGroupName)` The name of the Auto Scaling group.
    `void` | `setCause(java.lang.String cause)` Contains the reason the activity was begun.
    `void` | `setDescription(java.lang.String description)` Contains a friendly, more verbose description of the scaling activity.
    `void` | `setDetails(java.lang.String details)` Contains details of the scaling activity.
    `void` | `setEndTime(java.util.Date endTime)` Provides the end time of this activity.
    `void` | `setProgress(java.lang.Integer progress)` Specifies a value between 0 and 100 that indicates the progress of the activity.
    `void` | `setStartTime(java.util.Date startTime)` Provides the start time of this activity.
    `void` | `setStatusCode(ScalingActivityStatusCode statusCode)` Contains the current status of the activity.
    `void` | `setStatusCode(java.lang.String statusCode)` Contains the current status of the activity.
    `void` | `setStatusMessage(java.lang.String statusMessage)` Contains a friendly, more verbose description of the activity status.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Activity` | `withActivityId(java.lang.String activityId)` Specifies the ID of the activity.
    `Activity` | `withAutoScalingGroupName(java.lang.String autoScalingGroupName)` The name of the Auto Scaling group.
    `Activity` | `withCause(java.lang.String cause)` Contains the reason the activity was begun.
    `Activity` | `withDescription(java.lang.String description)` Contains a friendly, more verbose description of the scaling activity.
    `Activity` | `withDetails(java.lang.String details)` Contains details of the scaling activity.
    `Activity` | `withEndTime(java.util.Date endTime)` Provides the end time of this activity.
    `Activity` | `withProgress(java.lang.Integer progress)` Specifies a value between 0 and 100 that indicates the progress of the activity.
    `Activity` | `withStartTime(java.util.Date startTime)` Provides the start time of this activity.
    `Activity` | `withStatusCode(ScalingActivityStatusCode statusCode)` Contains the current status of the activity.
    `Activity` | `withStatusCode(java.lang.String statusCode)` Contains the current status of the activity.
    `Activity` | `withStatusMessage(java.lang.String statusMessage)` Contains a friendly, more verbose description of the activity status.

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

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

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

    - #### Activity

          public Activity()

  - ### メソッドの詳細

    - #### getActivityId

          public java.lang.String getActivityId()

      Specifies the ID of the activity.

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

      戻り値:
        Specifies the ID of the activity.

    - #### setActivityId

          public void setActivityId(java.lang.String activityId)

      Specifies the ID of the activity.

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

      パラメータ:
        `activityId` - Specifies the ID of the activity.

    - #### withActivityId

          public Activity withActivityId(java.lang.String activityId)

      Specifies the ID of the activity.

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

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

      パラメータ:
        `activityId` - Specifies the ID of the activity.

    - #### getAutoScalingGroupName

          public java.lang.String getAutoScalingGroupName()

      The name of the Auto Scaling group.

      Constraints:
      Length: 1 - 255
      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 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

    - #### withAutoScalingGroupName

          public Activity 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 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

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

    - #### getDescription

          public java.lang.String getDescription()

      Contains a friendly, more verbose description of the scaling activity.

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

      戻り値:
        Contains a friendly, more verbose description of the scaling activity.

    - #### setDescription

          public void setDescription(java.lang.String description)

      Contains a friendly, more verbose description of the scaling activity.

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

      パラメータ:
        `description` - Contains a friendly, more verbose description of the scaling activity.

    - #### withDescription

          public Activity withDescription(java.lang.String description)

      Contains a friendly, more verbose description of the scaling activity.

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

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

      パラメータ:
        `description` - Contains a friendly, more verbose description of the scaling activity.

    - #### getCause

          public java.lang.String getCause()

      Contains the reason the activity was begun.

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

      戻り値:
        Contains the reason the activity was begun.

    - #### setCause

          public void setCause(java.lang.String cause)

      Contains the reason the activity was begun.

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

      パラメータ:
        `cause` - Contains the reason the activity was begun.

    - #### withCause

          public Activity withCause(java.lang.String cause)

      Contains the reason the activity was begun.

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

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

      パラメータ:
        `cause` - Contains the reason the activity was begun.

    - #### getStartTime

          public java.util.Date getStartTime()

      Provides the start time of this activity.
      戻り値:
        Provides the start time of this activity.

    - #### setStartTime

          public void setStartTime(java.util.Date startTime)

      Provides the start time of this activity.
      パラメータ:
        `startTime` - Provides the start time of this activity.

    - #### withStartTime

          public Activity withStartTime(java.util.Date startTime)

      Provides the start time of this activity.

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

      パラメータ:
        `startTime` - Provides the start time of this activity.

    - #### getEndTime

          public java.util.Date getEndTime()

      Provides the end time of this activity.
      戻り値:
        Provides the end time of this activity.

    - #### setEndTime

          public void setEndTime(java.util.Date endTime)

      Provides the end time of this activity.
      パラメータ:
        `endTime` - Provides the end time of this activity.

    - #### withEndTime

          public Activity withEndTime(java.util.Date endTime)

      Provides the end time of this activity.

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

      パラメータ:
        `endTime` - Provides the end time of this activity.

    - #### getStatusCode

          public java.lang.String getStatusCode()

      Contains the current status of the activity.

      Constraints:
      Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled

      戻り値:
        Contains the current status of the activity.
      関連項目:
        `ScalingActivityStatusCode`

    - #### setStatusCode

          public void setStatusCode(java.lang.String statusCode)

      Contains the current status of the activity.

      Constraints:
      Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled

      パラメータ:
        `statusCode` - Contains the current status of the activity.
      関連項目:
        `ScalingActivityStatusCode`

    - #### withStatusCode

          public Activity withStatusCode(java.lang.String statusCode)

      Contains the current status of the activity.

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

      Constraints:
      Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled

      パラメータ:
        `statusCode` - Contains the current status of the activity.
      関連項目:
        `ScalingActivityStatusCode`

    - #### setStatusCode

          public void setStatusCode(ScalingActivityStatusCode statusCode)

      Contains the current status of the activity.

      Constraints:
      Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled

      パラメータ:
        `statusCode` - Contains the current status of the activity.
      関連項目:
        `ScalingActivityStatusCode`

    - #### withStatusCode

          public Activity withStatusCode(ScalingActivityStatusCode statusCode)

      Contains the current status of the activity.

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

      Constraints:
      Allowed Values: WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled

      パラメータ:
        `statusCode` - Contains the current status of the activity.
      関連項目:
        `ScalingActivityStatusCode`

    - #### getStatusMessage

          public java.lang.String getStatusMessage()

      Contains a friendly, more verbose description of the activity status.

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

      戻り値:
        Contains a friendly, more verbose description of the activity status.

    - #### setStatusMessage

          public void setStatusMessage(java.lang.String statusMessage)

      Contains a friendly, more verbose description of the activity status.

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

      パラメータ:
        `statusMessage` - Contains a friendly, more verbose description of the activity status.

    - #### withStatusMessage

          public Activity withStatusMessage(java.lang.String statusMessage)

      Contains a friendly, more verbose description of the activity status.

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

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

      パラメータ:
        `statusMessage` - Contains a friendly, more verbose description of the activity status.

    - #### getProgress

          public java.lang.Integer getProgress()

      Specifies a value between 0 and 100 that indicates the progress of the activity.
      戻り値:
        Specifies a value between 0 and 100 that indicates the progress of the activity.

    - #### setProgress

          public void setProgress(java.lang.Integer progress)

      Specifies a value between 0 and 100 that indicates the progress of the activity.
      パラメータ:
        `progress` - Specifies a value between 0 and 100 that indicates the progress of the activity.

    - #### withProgress

          public Activity withProgress(java.lang.Integer progress)

      Specifies a value between 0 and 100 that indicates the progress of the activity.

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

      パラメータ:
        `progress` - Specifies a value between 0 and 100 that indicates the progress of the activity.

    - #### getDetails

          public java.lang.String getDetails()

      Contains details of the scaling activity.

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

      戻り値:
        Contains details of the scaling activity.

    - #### setDetails

          public void setDetails(java.lang.String details)

      Contains details of the scaling activity.

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

      パラメータ:
        `details` - Contains details of the scaling activity.

    - #### withDetails

          public Activity withDetails(java.lang.String details)

      Contains details of the scaling activity.

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

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

      パラメータ:
        `details` - Contains details of the scaling activity.

    - #### 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`