public class ListDeploymentsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a list deployments operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
private TimeRange |
createTimeRange
A time range (start and end) for returning a subset of the list of
deployments.
|
private java.lang.String |
deploymentGroupName
The name of an existing deployment group for the specified application.
|
private SdkInternalList<java.lang.String> |
includeOnlyStatuses
A subset of deployments to list by status:
|
private java.lang.String |
nextToken
An identifier returned from the previous list deployments call.
|
NOOP
Constructor and Description |
---|
ListDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getDeploymentGroupName()
The name of an existing deployment group for the specified application.
|
java.util.List<java.lang.String> |
getIncludeOnlyStatuses()
A subset of deployments to list by status:
|
java.lang.String |
getNextToken()
An identifier returned from the previous list deployments call.
|
int |
hashCode() |
void |
setApplicationName(java.lang.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(java.lang.String deploymentGroupName)
The name of an existing deployment group for the specified application.
|
void |
setIncludeOnlyStatuses(java.util.Collection<java.lang.String> includeOnlyStatuses)
A subset of deployments to list by status:
|
void |
setNextToken(java.lang.String nextToken)
An identifier returned from the previous list deployments call.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentsRequest |
withApplicationName(java.lang.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(java.lang.String deploymentGroupName)
The name of an existing deployment group for the specified application.
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(java.util.Collection<java.lang.String> includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(DeploymentStatus... includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest |
withIncludeOnlyStatuses(java.lang.String... includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest |
withNextToken(java.lang.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
private java.lang.String applicationName
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
private java.lang.String deploymentGroupName
The name of an existing deployment group for the specified application.
private SdkInternalList<java.lang.String> includeOnlyStatuses
A subset of deployments to list by status:
private TimeRange createTimeRange
A time range (start and end) for returning a subset of the list of deployments.
private java.lang.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.
public void setApplicationName(java.lang.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 java.lang.String getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public ListDeploymentsRequest withApplicationName(java.lang.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(java.lang.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 java.lang.String getDeploymentGroupName()
The name of an existing deployment group for the specified application.
public ListDeploymentsRequest withDeploymentGroupName(java.lang.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 java.util.List<java.lang.String> getIncludeOnlyStatuses()
A subset of deployments to list by status:
DeploymentStatus
public void setIncludeOnlyStatuses(java.util.Collection<java.lang.String> includeOnlyStatuses)
A subset of deployments to list by status:
includeOnlyStatuses
- A subset of deployments to list by status:
DeploymentStatus
public ListDeploymentsRequest withIncludeOnlyStatuses(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListDeploymentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()