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() |
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
TimeRange |
getCreateTimeRange()
A time range (start and end) 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 returned from the previous list deployments call.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS 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 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 returned from the previous list deployments call.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentsRequest |
withApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS 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 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 returned from the previous list deployments call.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an AWS CodeDeploy application associated with the
applicable IAM user or AWS account.public String getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public ListDeploymentsRequest withApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an 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 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()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.