Class ListDeploymentInstancesRequest

    • Constructor Detail

      • ListDeploymentInstancesRequest

        public ListDeploymentInstancesRequest()
    • Method Detail

      • setDeploymentId

        public void setDeploymentId​(String deploymentId)

        The unique ID of a deployment.

        Parameters:
        deploymentId - The unique ID of a deployment.
      • getDeploymentId

        public String getDeploymentId()

        The unique ID of a deployment.

        Returns:
        The unique ID of a deployment.
      • withDeploymentId

        public ListDeploymentInstancesRequest withDeploymentId​(String deploymentId)

        The unique ID of a deployment.

        Parameters:
        deploymentId - The unique ID of a deployment.
        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 deployment instances call. It can be used to return the next set of deployment instances in the list.

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

        public String getNextToken()

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

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

        public ListDeploymentInstancesRequest withNextToken​(String nextToken)

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

        Parameters:
        nextToken - An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getInstanceStatusFilter

        public List<String> getInstanceStatusFilter()

        A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Returns:
        A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        See Also:
        InstanceStatus
      • setInstanceStatusFilter

        public void setInstanceStatusFilter​(Collection<String> instanceStatusFilter)

        A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Parameters:
        instanceStatusFilter - A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        See Also:
        InstanceStatus
      • withInstanceStatusFilter

        public ListDeploymentInstancesRequest withInstanceStatusFilter​(String... instanceStatusFilter)

        A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.

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

        Parameters:
        instanceStatusFilter - A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceStatus
      • withInstanceStatusFilter

        public ListDeploymentInstancesRequest withInstanceStatusFilter​(Collection<String> instanceStatusFilter)

        A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Parameters:
        instanceStatusFilter - A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceStatus
      • withInstanceStatusFilter

        public ListDeploymentInstancesRequest withInstanceStatusFilter​(InstanceStatus... instanceStatusFilter)

        A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Parameters:
        instanceStatusFilter - A subset of instances to list by status:

        • Pending: Include those instance with pending deployments.
        • InProgress: Include those instance where deployments are still in progress.
        • Succeeded: Include those instances with successful deployments.
        • Failed: Include those instance with failed deployments.
        • Skipped: Include those instance with skipped deployments.
        • Unknown: Include those instance with deployments in an unknown state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceStatus
      • 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