Class DescribeWorkspaceBundlesRequest

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

public class DescribeWorkspaceBundlesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Contains the inputs for the DescribeWorkspaceBundles operation.

See Also:
  • Constructor Details

    • DescribeWorkspaceBundlesRequest

      public DescribeWorkspaceBundlesRequest()
  • Method Details

    • getBundleIds

      public List<String> getBundleIds()

      An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      Returns:
      An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
    • setBundleIds

      public void setBundleIds(Collection<String> bundleIds)

      An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      Parameters:
      bundleIds - An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
    • withBundleIds

      public DescribeWorkspaceBundlesRequest withBundleIds(String... bundleIds)

      An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

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

      Parameters:
      bundleIds - An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withBundleIds

      public DescribeWorkspaceBundlesRequest withBundleIds(Collection<String> bundleIds)

      An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      Parameters:
      bundleIds - An array of strings that contains the identifiers of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setOwner

      public void setOwner(String owner)

      The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      This contains one of the following values:

      • null - Retrieves the bundles that belong to the account making the call.
      • AMAZON - Retrieves the bundles that are provided by AWS.
      Parameters:
      owner - The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      This contains one of the following values:

      • null - Retrieves the bundles that belong to the account making the call.
      • AMAZON - Retrieves the bundles that are provided by AWS.
    • getOwner

      public String getOwner()

      The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      This contains one of the following values:

      • null - Retrieves the bundles that belong to the account making the call.
      • AMAZON - Retrieves the bundles that are provided by AWS.
      Returns:
      The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      This contains one of the following values:

      • null - Retrieves the bundles that belong to the account making the call.
      • AMAZON - Retrieves the bundles that are provided by AWS.
    • withOwner

      public DescribeWorkspaceBundlesRequest withOwner(String owner)

      The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      This contains one of the following values:

      • null - Retrieves the bundles that belong to the account making the call.
      • AMAZON - Retrieves the bundles that are provided by AWS.
      Parameters:
      owner - The owner of the bundles to retrieve. This parameter cannot be combined with any other filter parameter.

      This contains one of the following values:

      • null - Retrieves the bundles that belong to the account making the call.
      • AMAZON - Retrieves the bundles that are provided by AWS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      The NextToken value from a previous call to this operation. Pass null if this is the first call.

      Parameters:
      nextToken - The NextToken value from a previous call to this operation. Pass null if this is the first call.
    • getNextToken

      public String getNextToken()

      The NextToken value from a previous call to this operation. Pass null if this is the first call.

      Returns:
      The NextToken value from a previous call to this operation. Pass null if this is the first call.
    • withNextToken

      public DescribeWorkspaceBundlesRequest withNextToken(String nextToken)

      The NextToken value from a previous call to this operation. Pass null if this is the first call.

      Parameters:
      nextToken - The NextToken value from a previous call to this operation. Pass null if this is the first call.
      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: