@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
StartExportTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getExportOnly()
The data to be exported from the snapshot.
|
String |
getExportTaskIdentifier()
A unique identifier for the snapshot export task.
|
String |
getIamRoleArn()
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
|
String |
getKmsKeyId()
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3.
|
String |
getS3BucketName()
The name of the Amazon S3 bucket to export the snapshot to.
|
String |
getS3Prefix()
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
|
String |
getSourceArn()
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
|
int |
hashCode() |
void |
setExportOnly(Collection<String> exportOnly)
The data to be exported from the snapshot.
|
void |
setExportTaskIdentifier(String exportTaskIdentifier)
A unique identifier for the snapshot export task.
|
void |
setIamRoleArn(String iamRoleArn)
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3.
|
void |
setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to export the snapshot to.
|
void |
setS3Prefix(String s3Prefix)
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
|
void |
setSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
StartExportTaskRequest |
withExportOnly(Collection<String> exportOnly)
The data to be exported from the snapshot.
|
StartExportTaskRequest |
withExportOnly(String... exportOnly)
The data to be exported from the snapshot.
|
StartExportTaskRequest |
withExportTaskIdentifier(String exportTaskIdentifier)
A unique identifier for the snapshot export task.
|
StartExportTaskRequest |
withIamRoleArn(String iamRoleArn)
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
|
StartExportTaskRequest |
withKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3.
|
StartExportTaskRequest |
withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to export the snapshot to.
|
StartExportTaskRequest |
withS3Prefix(String s3Prefix)
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
|
StartExportTaskRequest |
withSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
|
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 setExportTaskIdentifier(String exportTaskIdentifier)
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is to be exported to.
exportTaskIdentifier
- A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket
where the snapshot is to be exported to.public String getExportTaskIdentifier()
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is to be exported to.
public StartExportTaskRequest withExportTaskIdentifier(String exportTaskIdentifier)
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is to be exported to.
exportTaskIdentifier
- A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket
where the snapshot is to be exported to.public void setSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
sourceArn
- The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.public String getSourceArn()
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
public StartExportTaskRequest withSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
sourceArn
- The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.public void setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to export the snapshot to.
s3BucketName
- The name of the Amazon S3 bucket to export the snapshot to.public String getS3BucketName()
The name of the Amazon S3 bucket to export the snapshot to.
public StartExportTaskRequest withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to export the snapshot to.
s3BucketName
- The name of the Amazon S3 bucket to export the snapshot to.public void setIamRoleArn(String iamRoleArn)
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
iamRoleArn
- The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.public String getIamRoleArn()
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
public StartExportTaskRequest withIamRoleArn(String iamRoleArn)
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
iamRoleArn
- The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.public void setKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to execute the following operations. These can be set in the Amazon Web Services KMS key policy:
GrantOperation.Encrypt
GrantOperation.Decrypt
GrantOperation.GenerateDataKey
GrantOperation.GenerateDataKeyWithoutPlaintext
GrantOperation.ReEncryptFrom
GrantOperation.ReEncryptTo
GrantOperation.CreateGrant
GrantOperation.DescribeKey
GrantOperation.RetireGrant
kmsKeyId
- The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon
Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The
caller of this operation must be authorized to execute the following operations. These can be set in the
Amazon Web Services KMS key policy:
GrantOperation.Encrypt
GrantOperation.Decrypt
GrantOperation.GenerateDataKey
GrantOperation.GenerateDataKeyWithoutPlaintext
GrantOperation.ReEncryptFrom
GrantOperation.ReEncryptTo
GrantOperation.CreateGrant
GrantOperation.DescribeKey
GrantOperation.RetireGrant
public String getKmsKeyId()
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to execute the following operations. These can be set in the Amazon Web Services KMS key policy:
GrantOperation.Encrypt
GrantOperation.Decrypt
GrantOperation.GenerateDataKey
GrantOperation.GenerateDataKeyWithoutPlaintext
GrantOperation.ReEncryptFrom
GrantOperation.ReEncryptTo
GrantOperation.CreateGrant
GrantOperation.DescribeKey
GrantOperation.RetireGrant
GrantOperation.Encrypt
GrantOperation.Decrypt
GrantOperation.GenerateDataKey
GrantOperation.GenerateDataKeyWithoutPlaintext
GrantOperation.ReEncryptFrom
GrantOperation.ReEncryptTo
GrantOperation.CreateGrant
GrantOperation.DescribeKey
GrantOperation.RetireGrant
public StartExportTaskRequest withKmsKeyId(String kmsKeyId)
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to execute the following operations. These can be set in the Amazon Web Services KMS key policy:
GrantOperation.Encrypt
GrantOperation.Decrypt
GrantOperation.GenerateDataKey
GrantOperation.GenerateDataKeyWithoutPlaintext
GrantOperation.ReEncryptFrom
GrantOperation.ReEncryptTo
GrantOperation.CreateGrant
GrantOperation.DescribeKey
GrantOperation.RetireGrant
kmsKeyId
- The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon
Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The
caller of this operation must be authorized to execute the following operations. These can be set in the
Amazon Web Services KMS key policy:
GrantOperation.Encrypt
GrantOperation.Decrypt
GrantOperation.GenerateDataKey
GrantOperation.GenerateDataKeyWithoutPlaintext
GrantOperation.ReEncryptFrom
GrantOperation.ReEncryptTo
GrantOperation.CreateGrant
GrantOperation.DescribeKey
GrantOperation.RetireGrant
public void setS3Prefix(String s3Prefix)
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
s3Prefix
- The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.public String getS3Prefix()
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
public StartExportTaskRequest withS3Prefix(String s3Prefix)
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
s3Prefix
- The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.public List<String> getExportOnly()
The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only for RDS
for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is valid
only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only
for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
public void setExportOnly(Collection<String> exportOnly)
The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only for RDS
for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is valid
only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
exportOnly
- The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is
exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only
for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
public StartExportTaskRequest withExportOnly(String... exportOnly)
The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only for RDS
for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is valid
only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
NOTE: This method appends the values to the existing list (if any). Use
setExportOnly(java.util.Collection)
or withExportOnly(java.util.Collection)
if you want to
override the existing values.
exportOnly
- The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is
exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only
for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
public StartExportTaskRequest withExportOnly(Collection<String> exportOnly)
The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only for RDS
for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is valid
only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
exportOnly
- The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is
exported. Valid values are the following:
database
- Export all the data from a specified database.
database.table
table-name - Export a table of the snapshot. This format is valid only
for RDS for MySQL, RDS for MariaDB, and Aurora MySQL.
database.schema
schema-name - Export a database schema of the snapshot. This format is
valid only for RDS for PostgreSQL and Aurora PostgreSQL.
database.schema.table
table-name - Export a table of the database schema. This format
is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
public String toString()
toString
in class Object
Object.toString()
public StartExportTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()