Interface ListDeploymentsRequest.Builder

    • Method Detail

      • applicationName

        ListDeploymentsRequest.Builder applicationName​(String applicationName)

        The name of an CodeDeploy application associated with the user or Amazon Web Services account.

        If applicationName is specified, then deploymentGroupName must be specified. If it is not specified, then deploymentGroupName must not be specified.

        Parameters:
        applicationName - The name of an CodeDeploy application associated with the user or Amazon Web Services account.

        If applicationName is specified, then deploymentGroupName must be specified. If it is not specified, then deploymentGroupName must not be specified.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentGroupName

        ListDeploymentsRequest.Builder deploymentGroupName​(String deploymentGroupName)

        The name of a deployment group for the specified application.

        If deploymentGroupName is specified, then applicationName must be specified. If it is not specified, then applicationName must not be specified.

        Parameters:
        deploymentGroupName - The name of a deployment group for the specified application.

        If deploymentGroupName is specified, then applicationName must be specified. If it is not specified, then applicationName must not be specified.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • externalId

        ListDeploymentsRequest.Builder externalId​(String externalId)

        The unique ID of an external resource for returning deployments linked to the external resource.

        Parameters:
        externalId - The unique ID of an external resource for returning deployments linked to the external resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeOnlyStatusesWithStrings

        ListDeploymentsRequest.Builder includeOnlyStatusesWithStrings​(Collection<String> includeOnlyStatuses)

        A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Parameters:
        includeOnlyStatuses - A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeOnlyStatusesWithStrings

        ListDeploymentsRequest.Builder includeOnlyStatusesWithStrings​(String... includeOnlyStatuses)

        A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Parameters:
        includeOnlyStatuses - A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeOnlyStatuses

        ListDeploymentsRequest.Builder includeOnlyStatuses​(Collection<DeploymentStatus> includeOnlyStatuses)

        A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Parameters:
        includeOnlyStatuses - A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeOnlyStatuses

        ListDeploymentsRequest.Builder includeOnlyStatuses​(DeploymentStatus... includeOnlyStatuses)

        A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Parameters:
        includeOnlyStatuses - A subset of deployments to list by status:

        • Created: Include created deployments in the resulting list.

        • Queued: Include queued deployments in the resulting list.

        • In Progress: Include in-progress deployments in the resulting list.

        • Succeeded: Include successful deployments in the resulting list.

        • Failed: Include failed deployments in the resulting list.

        • Stopped: Include stopped deployments in the resulting list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createTimeRange

        ListDeploymentsRequest.Builder createTimeRange​(TimeRange createTimeRange)

        A time range (start and end) for returning a subset of the list of deployments.

        Parameters:
        createTimeRange - A time range (start and end) for returning a subset of the list of deployments.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListDeploymentsRequest.Builder nextToken​(String nextToken)

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

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