@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeploymentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ListDeployments
operation.
NOOP
Constructor and Description |
---|
ListDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
|
TimeRange |
getCreateTimeRange()
A time range (start and end) for returning a subset of the list of deployments.
|
String |
getDeploymentGroupName()
The name of a deployment group for the specified application.
|
String |
getExternalId()
The unique ID of an external resource for returning deployments linked to the external resource.
|
List<String> |
getIncludeOnlyStatuses()
A subset of deployments to list by status:
|
String |
getNextToken()
An identifier returned from the previous list deployments call.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
|
void |
setCreateTimeRange(TimeRange createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The name of a deployment group for the specified application.
|
void |
setExternalId(String externalId)
The unique ID of an external resource for returning deployments linked to the external resource.
|
void |
setIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
A subset of deployments to list by status:
|
void |
setNextToken(String nextToken)
An identifier returned from the previous list deployments call.
|
String |
toString()
Returns a string representation of this object.
|
ListDeploymentsRequest |
withApplicationName(String applicationName)
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
|
ListDeploymentsRequest |
withCreateTimeRange(TimeRange createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
|
ListDeploymentsRequest |
withDeploymentGroupName(String deploymentGroupName)
The name of a deployment group for the specified application.
|
ListDeploymentsRequest |
withExternalId(String externalId)
The unique ID of an external resource for returning deployments linked to the external resource.
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(DeploymentStatus... includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(String... includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest |
withNextToken(String nextToken)
An identifier returned from the previous list deployments call.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(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.
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.
public String getApplicationName()
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.
If applicationName
is specified, then deploymentGroupName
must be specified. If
it is not specified, then deploymentGroupName
must not be specified.
public ListDeploymentsRequest withApplicationName(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.
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.
public void setDeploymentGroupName(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.
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.
public String getDeploymentGroupName()
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.
If deploymentGroupName
is specified, then applicationName
must be specified. If
it is not specified, then applicationName
must not be specified.
public ListDeploymentsRequest withDeploymentGroupName(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.
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.
public void setExternalId(String externalId)
The unique ID of an external resource for returning deployments linked to the external resource.
externalId
- The unique ID of an external resource for returning deployments linked to the external resource.public String getExternalId()
The unique ID of an external resource for returning deployments linked to the external resource.
public ListDeploymentsRequest withExternalId(String externalId)
The unique ID of an external resource for returning deployments linked to the external resource.
externalId
- The unique ID of an external resource for returning deployments linked to the external resource.public List<String> getIncludeOnlyStatuses()
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.
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.
DeploymentStatus
public void setIncludeOnlyStatuses(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.
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.
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(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.
NOTE: This method appends the values to the existing list (if any). Use
setIncludeOnlyStatuses(java.util.Collection)
or withIncludeOnlyStatuses(java.util.Collection)
if you want to override the existing values.
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.
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(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.
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.
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(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.
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.
DeploymentStatus
public void setCreateTimeRange(TimeRange createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
createTimeRange
- A time range (start and end) for returning a subset of the list of deployments.public TimeRange getCreateTimeRange()
A time range (start and end) for returning a subset of the list of deployments.
public ListDeploymentsRequest withCreateTimeRange(TimeRange createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
createTimeRange
- A time range (start and end) for returning a subset of the list of deployments.public void setNextToken(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.
nextToken
- An identifier returned from the previous list deployments call. It can be used to return the next set of
deployments in the list.public String getNextToken()
An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
public ListDeploymentsRequest withNextToken(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.
nextToken
- An identifier returned from the previous list deployments call. It can be used to return the next set of
deployments in the list.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()