Class DeleteInstanceRequest

    • Constructor Detail

      • DeleteInstanceRequest

        public DeleteInstanceRequest()
    • Method Detail

      • setInstanceId

        public void setInstanceId​(String instanceId)

        The instance ID.

        Parameters:
        instanceId - The instance ID.
      • getInstanceId

        public String getInstanceId()

        The instance ID.

        Returns:
        The instance ID.
      • withInstanceId

        public DeleteInstanceRequest withInstanceId​(String instanceId)

        The instance ID.

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

        public void setDeleteElasticIp​(Boolean deleteElasticIp)

        Whether to delete the instance Elastic IP address.

        Parameters:
        deleteElasticIp - Whether to delete the instance Elastic IP address.
      • getDeleteElasticIp

        public Boolean getDeleteElasticIp()

        Whether to delete the instance Elastic IP address.

        Returns:
        Whether to delete the instance Elastic IP address.
      • withDeleteElasticIp

        public DeleteInstanceRequest withDeleteElasticIp​(Boolean deleteElasticIp)

        Whether to delete the instance Elastic IP address.

        Parameters:
        deleteElasticIp - Whether to delete the instance Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeleteElasticIp

        public Boolean isDeleteElasticIp()

        Whether to delete the instance Elastic IP address.

        Returns:
        Whether to delete the instance Elastic IP address.
      • setDeleteVolumes

        public void setDeleteVolumes​(Boolean deleteVolumes)

        Whether to delete the instance's Amazon EBS volumes.

        Parameters:
        deleteVolumes - Whether to delete the instance's Amazon EBS volumes.
      • getDeleteVolumes

        public Boolean getDeleteVolumes()

        Whether to delete the instance's Amazon EBS volumes.

        Returns:
        Whether to delete the instance's Amazon EBS volumes.
      • withDeleteVolumes

        public DeleteInstanceRequest withDeleteVolumes​(Boolean deleteVolumes)

        Whether to delete the instance's Amazon EBS volumes.

        Parameters:
        deleteVolumes - Whether to delete the instance's Amazon EBS volumes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeleteVolumes

        public Boolean isDeleteVolumes()

        Whether to delete the instance's Amazon EBS volumes.

        Returns:
        Whether to delete the instance's Amazon EBS volumes.
      • 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