Class ActiveInstance

    • Constructor Detail

      • ActiveInstance

        public ActiveInstance()
    • Method Detail

      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
      • getInstanceType

        public String getInstanceType()

        The instance type.

        Returns:
        The instance type.
      • withInstanceType

        public ActiveInstance withInstanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceId

        public void setInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
      • getInstanceId

        public String getInstanceId()

        The ID of the instance.

        Returns:
        The ID of the instance.
      • withInstanceId

        public ActiveInstance withInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSpotInstanceRequestId

        public void setSpotInstanceRequestId​(String spotInstanceRequestId)

        The ID of the Spot instance request.

        Parameters:
        spotInstanceRequestId - The ID of the Spot instance request.
      • getSpotInstanceRequestId

        public String getSpotInstanceRequestId()

        The ID of the Spot instance request.

        Returns:
        The ID of the Spot instance request.
      • withSpotInstanceRequestId

        public ActiveInstance withSpotInstanceRequestId​(String spotInstanceRequestId)

        The ID of the Spot instance request.

        Parameters:
        spotInstanceRequestId - The ID of the Spot instance request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object