@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 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.
|
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 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:
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.