public class ListDeploymentsRequest extends AmazonWebServiceRequest implements Serializable
ListDeployments operation
.
Lists the deployments under a deployment group for an application registered within the AWS user account.
NOOP
Constructor and Description |
---|
ListDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an existing AWS CodeDeploy application within the AWS user
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()
|
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 within the AWS user
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)
|
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 within the AWS user
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)
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(DeploymentStatus... includeOnlyStatuses)
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(String... includeOnlyStatuses)
|
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, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The name of an existing AWS CodeDeploy application within the AWS user
account.public ListDeploymentsRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of an existing AWS CodeDeploy application within the AWS user
account.public String getDeploymentGroupName()
Constraints:
Length: 1 - 100
public void setDeploymentGroupName(String deploymentGroupName)
Constraints:
Length: 1 - 100
deploymentGroupName
- The name of an existing deployment group for the specified
application.public ListDeploymentsRequest withDeploymentGroupName(String deploymentGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentGroupName
- The name of an existing deployment group for the specified
application.public List<String> getIncludeOnlyStatuses()
public void setIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
includeOnlyStatuses
- public ListDeploymentsRequest withIncludeOnlyStatuses(String... includeOnlyStatuses)
Returns a reference to this object so that method calls can be chained together.
includeOnlyStatuses
- public ListDeploymentsRequest withIncludeOnlyStatuses(Collection<String> includeOnlyStatuses)
Returns a reference to this object so that method calls can be chained together.
includeOnlyStatuses
- public ListDeploymentsRequest withIncludeOnlyStatuses(DeploymentStatus... includeOnlyStatuses)
Returns a reference to this object so that method calls can be chained together.
includeOnlyStatuses
- public TimeRange getCreateTimeRange()
public void setCreateTimeRange(TimeRange createTimeRange)
createTimeRange
- A deployment creation start- and end-time range for returning a subset
of the list of deployments.public ListDeploymentsRequest withCreateTimeRange(TimeRange createTimeRange)
Returns a reference to this object so that method calls can be chained together.
createTimeRange
- A deployment creation start- and end-time range for returning a subset
of the list of deployments.public String getNextToken()
public void setNextToken(String nextToken)
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 ListDeploymentsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.