@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request object for the CreateBackup
operation.
NOOP
Constructor and Description |
---|
CreateBackupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBackupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
String |
getFileSystemId()
The ID of the file system to back up.
|
List<Tag> |
getTags()
The tags to apply to the backup at backup creation.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
void |
setFileSystemId(String fileSystemId)
The ID of the file system to back up.
|
void |
setTags(Collection<Tag> tags)
The tags to apply to the backup at backup creation.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackupRequest |
withClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
CreateBackupRequest |
withFileSystemId(String fileSystemId)
The ID of the file system to back up.
|
CreateBackupRequest |
withTags(Collection<Tag> tags)
The tags to apply to the backup at backup creation.
|
CreateBackupRequest |
withTags(Tag... tags)
The tags to apply to the backup at backup creation.
|
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 setFileSystemId(String fileSystemId)
The ID of the file system to back up.
fileSystemId
- The ID of the file system to back up.public String getFileSystemId()
The ID of the file system to back up.
public CreateBackupRequest withFileSystemId(String fileSystemId)
The ID of the file system to back up.
fileSystemId
- The ID of the file system to back up.public void setClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
clientRequestToken
- A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is
automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.public String getClientRequestToken()
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
public CreateBackupRequest withClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
clientRequestToken
- A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is
automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.public List<Tag> getTags()
The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the
console as the backup name. If you have set CopyTagsToBackups
to true, and you specify one or more
tags using the CreateBackup
action, no existing tags on the file system are copied from the file
system to the backup.
Name
tag appears in
the console as the backup name. If you have set CopyTagsToBackups
to true, and you specify
one or more tags using the CreateBackup
action, no existing tags on the file system are
copied from the file system to the backup.public void setTags(Collection<Tag> tags)
The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the
console as the backup name. If you have set CopyTagsToBackups
to true, and you specify one or more
tags using the CreateBackup
action, no existing tags on the file system are copied from the file
system to the backup.
tags
- The tags to apply to the backup at backup creation. The key value of the Name
tag appears in
the console as the backup name. If you have set CopyTagsToBackups
to true, and you specify
one or more tags using the CreateBackup
action, no existing tags on the file system are
copied from the file system to the backup.public CreateBackupRequest withTags(Tag... tags)
The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the
console as the backup name. If you have set CopyTagsToBackups
to true, and you specify one or more
tags using the CreateBackup
action, no existing tags on the file system are copied from the file
system to the backup.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to apply to the backup at backup creation. The key value of the Name
tag appears in
the console as the backup name. If you have set CopyTagsToBackups
to true, and you specify
one or more tags using the CreateBackup
action, no existing tags on the file system are
copied from the file system to the backup.public CreateBackupRequest withTags(Collection<Tag> tags)
The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the
console as the backup name. If you have set CopyTagsToBackups
to true, and you specify one or more
tags using the CreateBackup
action, no existing tags on the file system are copied from the file
system to the backup.
tags
- The tags to apply to the backup at backup creation. The key value of the Name
tag appears in
the console as the backup name. If you have set CopyTagsToBackups
to true, and you specify
one or more tags using the CreateBackup
action, no existing tags on the file system are
copied from the file system to the backup.public String toString()
toString
in class Object
Object.toString()
public CreateBackupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.