public class ListDeploymentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a list deployments operation.
NOOP
Constructor and Description |
---|
ListDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.
|
TimeRange |
getCreateTimeRange()
A deployment creation start- and end-time range for returning a subset of
the list of deployments.
|
String |
getDeploymentGroupName()
The name of an existing deployment group for the specified application.
|
List<String> |
getIncludeOnlyStatuses()
A subset of deployments to list, by status:
|
String |
getNextToken()
An identifier that was returned from the previous list deployments call,
which can be used to return the next set of deployments in the list.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.
|
void |
setCreateTimeRange(TimeRange createTimeRange)
A deployment creation start- and end-time range for returning a subset of
the list of deployments.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified application.
|
void |
setIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
A subset of deployments to list, by status:
|
void |
setNextToken(String nextToken)
An identifier that was returned from the previous list deployments call,
which can be used to return the next set of deployments in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentsRequest |
withApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the
applicable IAM user or AWS account.
|
ListDeploymentsRequest |
withCreateTimeRange(TimeRange createTimeRange)
A deployment creation start- and end-time range for returning a subset of
the list of deployments.
|
ListDeploymentsRequest |
withDeploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified application.
|
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 that was returned from the previous list deployments call,
which can be used to return the next set of deployments in the list.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an existing AWS CodeDeploy application associated with
the applicable IAM user or AWS account.public String getApplicationName()
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public ListDeploymentsRequest withApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an existing AWS CodeDeploy application associated with
the applicable IAM user or AWS account.public void setDeploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified application.
deploymentGroupName
- The name of an existing deployment group for the specified
application.public String getDeploymentGroupName()
The name of an existing deployment group for the specified application.
public ListDeploymentsRequest withDeploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified application.
deploymentGroupName
- The name of an existing deployment group for the specified
application.public List<String> getIncludeOnlyStatuses()
A subset of deployments to list, by status:
DeploymentStatus
public void setIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
A subset of deployments to list, by status:
includeOnlyStatuses
- A subset of deployments to list, by status:
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(String... includeOnlyStatuses)
A subset of deployments to list, by status:
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:
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
A subset of deployments to list, by status:
includeOnlyStatuses
- A subset of deployments to list, by status:
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(DeploymentStatus... includeOnlyStatuses)
A subset of deployments to list, by status:
includeOnlyStatuses
- A subset of deployments to list, by status:
DeploymentStatus
public void setCreateTimeRange(TimeRange createTimeRange)
A deployment creation start- and end-time range for returning a subset of the list of deployments.
createTimeRange
- A deployment creation start- and end-time range for returning a
subset of the list of deployments.public TimeRange getCreateTimeRange()
A deployment creation start- and end-time range for returning a subset of the list of deployments.
public ListDeploymentsRequest withCreateTimeRange(TimeRange createTimeRange)
A deployment creation start- and end-time range for returning a subset of the list of deployments.
createTimeRange
- A deployment creation start- and end-time range for returning a
subset of the list of deployments.public void setNextToken(String nextToken)
An identifier that was returned from the previous list deployments call, which can be used to return the next set of deployments in the list.
nextToken
- An identifier that was returned from the previous list deployments
call, which can be used to return the next set of deployments in
the list.public String getNextToken()
An identifier that was returned from the previous list deployments call, which can be used to return the next set of deployments in the list.
public ListDeploymentsRequest withNextToken(String nextToken)
An identifier that was returned from the previous list deployments call, which can be used to return the next set of deployments in the list.
nextToken
- An identifier that was returned from the previous list deployments
call, which 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()
Copyright © 2015. All rights reserved.