Interface InstanceFleetStatus.Builder

    • Method Detail

      • state

        InstanceFleetStatus.Builder state​(String state)

        A code representing the instance fleet status.

        • PROVISIONING—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs.

        • BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.

        • RUNNING—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.

        • RESIZING—A resize operation is underway. Amazon EC2 instances are either being added or removed.

        • SUSPENDED—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed.

        • TERMINATING—The instance fleet is terminating Amazon EC2 instances.

        • TERMINATED—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.

        Parameters:
        state - A code representing the instance fleet status.

        • PROVISIONING—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs.

        • BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.

        • RUNNING—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.

        • RESIZING—A resize operation is underway. Amazon EC2 instances are either being added or removed.

        • SUSPENDED—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed.

        • TERMINATING—The instance fleet is terminating Amazon EC2 instances.

        • TERMINATED—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceFleetState, InstanceFleetState
      • state

        InstanceFleetStatus.Builder state​(InstanceFleetState state)

        A code representing the instance fleet status.

        • PROVISIONING—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs.

        • BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.

        • RUNNING—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.

        • RESIZING—A resize operation is underway. Amazon EC2 instances are either being added or removed.

        • SUSPENDED—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed.

        • TERMINATING—The instance fleet is terminating Amazon EC2 instances.

        • TERMINATED—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.

        Parameters:
        state - A code representing the instance fleet status.

        • PROVISIONING—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs.

        • BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.

        • RUNNING—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.

        • RESIZING—A resize operation is underway. Amazon EC2 instances are either being added or removed.

        • SUSPENDED—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed.

        • TERMINATING—The instance fleet is terminating Amazon EC2 instances.

        • TERMINATED—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceFleetState, InstanceFleetState
      • stateChangeReason

        InstanceFleetStatus.Builder stateChangeReason​(InstanceFleetStateChangeReason stateChangeReason)

        Provides status change reason details for the instance fleet.

        Parameters:
        stateChangeReason - Provides status change reason details for the instance fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeline

        InstanceFleetStatus.Builder timeline​(InstanceFleetTimeline timeline)

        Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.

        Parameters:
        timeline - Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.