Class ListOnPremisesInstancesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codedeploy.model.ListOnPremisesInstancesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a list on-premises instances operation.

.
See Also:
  • Constructor Details

    • ListOnPremisesInstancesRequest

      public ListOnPremisesInstancesRequest()
  • Method Details

    • setRegistrationStatus

      public void setRegistrationStatus(String registrationStatus)

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Parameters:
      registrationStatus - The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      See Also:
    • getRegistrationStatus

      public String getRegistrationStatus()

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Returns:
      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      See Also:
    • withRegistrationStatus

      public ListOnPremisesInstancesRequest withRegistrationStatus(String registrationStatus)

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Parameters:
      registrationStatus - The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setRegistrationStatus

      public void setRegistrationStatus(RegistrationStatus registrationStatus)

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Parameters:
      registrationStatus - The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      See Also:
    • withRegistrationStatus

      public ListOnPremisesInstancesRequest withRegistrationStatus(RegistrationStatus registrationStatus)

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Parameters:
      registrationStatus - The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.
      • Registered: Include registered on-premises instances in the resulting list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • getTagFilters

      public List<TagFilter> getTagFilters()

      The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.

      Returns:
      The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.
    • setTagFilters

      public void setTagFilters(Collection<TagFilter> tagFilters)

      The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.

      Parameters:
      tagFilters - The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.
    • withTagFilters

      public ListOnPremisesInstancesRequest withTagFilters(TagFilter... tagFilters)

      The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.

      NOTE: This method appends the values to the existing list (if any). Use setTagFilters(java.util.Collection) or withTagFilters(java.util.Collection) if you want to override the existing values.

      Parameters:
      tagFilters - The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTagFilters

      public ListOnPremisesInstancesRequest withTagFilters(Collection<TagFilter> tagFilters)

      The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.

      Parameters:
      tagFilters - The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.

      Parameters:
      nextToken - An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
    • getNextToken

      public String getNextToken()

      An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.

      Returns:
      An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
    • withNextToken

      public ListOnPremisesInstancesRequest withNextToken(String nextToken)

      An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.

      Parameters:
      nextToken - An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: