@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCopyJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListCopyJobsRequest() |
Modifier and Type | Method and Description |
---|---|
ListCopyJobsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getByAccountId()
The account ID to list the jobs from.
|
Date |
getByCreatedAfter()
Returns only copy jobs that were created after the specified date.
|
Date |
getByCreatedBefore()
Returns only copy jobs that were created before the specified date.
|
String |
getByDestinationVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
String |
getByResourceArn()
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
|
String |
getByResourceType()
Returns only backup jobs for the specified resources:
|
String |
getByState()
Returns only copy jobs that are in the specified state.
|
Integer |
getMaxResults()
The maximum number of items to be returned.
|
String |
getNextToken()
The next item following a partial list of returned items.
|
int |
hashCode() |
void |
setByAccountId(String byAccountId)
The account ID to list the jobs from.
|
void |
setByCreatedAfter(Date byCreatedAfter)
Returns only copy jobs that were created after the specified date.
|
void |
setByCreatedBefore(Date byCreatedBefore)
Returns only copy jobs that were created before the specified date.
|
void |
setByDestinationVaultArn(String byDestinationVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
void |
setByResourceArn(String byResourceArn)
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
|
void |
setByResourceType(String byResourceType)
Returns only backup jobs for the specified resources:
|
void |
setByState(String byState)
Returns only copy jobs that are in the specified state.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to be returned.
|
void |
setNextToken(String nextToken)
The next item following a partial list of returned items.
|
String |
toString()
Returns a string representation of this object.
|
ListCopyJobsRequest |
withByAccountId(String byAccountId)
The account ID to list the jobs from.
|
ListCopyJobsRequest |
withByCreatedAfter(Date byCreatedAfter)
Returns only copy jobs that were created after the specified date.
|
ListCopyJobsRequest |
withByCreatedBefore(Date byCreatedBefore)
Returns only copy jobs that were created before the specified date.
|
ListCopyJobsRequest |
withByDestinationVaultArn(String byDestinationVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
ListCopyJobsRequest |
withByResourceArn(String byResourceArn)
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
|
ListCopyJobsRequest |
withByResourceType(String byResourceType)
Returns only backup jobs for the specified resources:
|
ListCopyJobsRequest |
withByState(CopyJobState byState)
Returns only copy jobs that are in the specified state.
|
ListCopyJobsRequest |
withByState(String byState)
Returns only copy jobs that are in the specified state.
|
ListCopyJobsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to be returned.
|
ListCopyJobsRequest |
withNextToken(String nextToken)
The next item following a partial list of returned items.
|
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 setNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
maxResults number of items, NextToken allows you to return more items in your list starting at the
location pointed to by the next token.public String getNextToken()
The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
public ListCopyJobsRequest withNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
maxResults number of items, NextToken allows you to return more items in your list starting at the
location pointed to by the next token.public void setMaxResults(Integer maxResults)
The maximum number of items to be returned.
maxResults
- The maximum number of items to be returned.public Integer getMaxResults()
The maximum number of items to be returned.
public ListCopyJobsRequest withMaxResults(Integer maxResults)
The maximum number of items to be returned.
maxResults
- The maximum number of items to be returned.public void setByResourceArn(String byResourceArn)
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
byResourceArn
- Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).public String getByResourceArn()
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
public ListCopyJobsRequest withByResourceArn(String byResourceArn)
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
byResourceArn
- Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).public void setByState(String byState)
Returns only copy jobs that are in the specified state.
byState
- Returns only copy jobs that are in the specified state.CopyJobState
public String getByState()
Returns only copy jobs that are in the specified state.
CopyJobState
public ListCopyJobsRequest withByState(String byState)
Returns only copy jobs that are in the specified state.
byState
- Returns only copy jobs that are in the specified state.CopyJobState
public ListCopyJobsRequest withByState(CopyJobState byState)
Returns only copy jobs that are in the specified state.
byState
- Returns only copy jobs that are in the specified state.CopyJobState
public void setByCreatedBefore(Date byCreatedBefore)
Returns only copy jobs that were created before the specified date.
byCreatedBefore
- Returns only copy jobs that were created before the specified date.public Date getByCreatedBefore()
Returns only copy jobs that were created before the specified date.
public ListCopyJobsRequest withByCreatedBefore(Date byCreatedBefore)
Returns only copy jobs that were created before the specified date.
byCreatedBefore
- Returns only copy jobs that were created before the specified date.public void setByCreatedAfter(Date byCreatedAfter)
Returns only copy jobs that were created after the specified date.
byCreatedAfter
- Returns only copy jobs that were created after the specified date.public Date getByCreatedAfter()
Returns only copy jobs that were created after the specified date.
public ListCopyJobsRequest withByCreatedAfter(Date byCreatedAfter)
Returns only copy jobs that were created after the specified date.
byCreatedAfter
- Returns only copy jobs that were created after the specified date.public void setByResourceType(String byResourceType)
Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDB
EBS
for Amazon Elastic Block Store
EC2
for Amazon Elastic Compute Cloud
EFS
for Amazon Elastic File System
RDS
for Amazon Relational Database Service
Storage Gateway
for AWS Storage Gateway
byResourceType
- Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDB
EBS
for Amazon Elastic Block Store
EC2
for Amazon Elastic Compute Cloud
EFS
for Amazon Elastic File System
RDS
for Amazon Relational Database Service
Storage Gateway
for AWS Storage Gateway
public String getByResourceType()
Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDB
EBS
for Amazon Elastic Block Store
EC2
for Amazon Elastic Compute Cloud
EFS
for Amazon Elastic File System
RDS
for Amazon Relational Database Service
Storage Gateway
for AWS Storage Gateway
DynamoDB
for Amazon DynamoDB
EBS
for Amazon Elastic Block Store
EC2
for Amazon Elastic Compute Cloud
EFS
for Amazon Elastic File System
RDS
for Amazon Relational Database Service
Storage Gateway
for AWS Storage Gateway
public ListCopyJobsRequest withByResourceType(String byResourceType)
Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDB
EBS
for Amazon Elastic Block Store
EC2
for Amazon Elastic Compute Cloud
EFS
for Amazon Elastic File System
RDS
for Amazon Relational Database Service
Storage Gateway
for AWS Storage Gateway
byResourceType
- Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDB
EBS
for Amazon Elastic Block Store
EC2
for Amazon Elastic Compute Cloud
EFS
for Amazon Elastic File System
RDS
for Amazon Relational Database Service
Storage Gateway
for AWS Storage Gateway
public void setByDestinationVaultArn(String byDestinationVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
byDestinationVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public String getByDestinationVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public ListCopyJobsRequest withByDestinationVaultArn(String byDestinationVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
byDestinationVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public void setByAccountId(String byAccountId)
The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
byAccountId
- The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.public String getByAccountId()
The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
public ListCopyJobsRequest withByAccountId(String byAccountId)
The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
byAccountId
- The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.public String toString()
toString
in class Object
Object.toString()
public ListCopyJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()