Class StartDbInstanceAutomatedBackupsReplicationRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartDbInstanceAutomatedBackupsReplicationRequest.Builder,StartDbInstanceAutomatedBackupsReplicationRequest>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe retention period for the replicated automated backups.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final StringkmsKeyId()The Amazon Web Services KMS key identifier for encryption of the replicated automated backups.final StringIn an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for theStartDBInstanceAutomatedBackupsReplicationoperation to call in the Amazon Web Services Region of the source DB instance.static Class<? extends StartDbInstanceAutomatedBackupsReplicationRequest.Builder>final StringThe Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example,arn:aws:rds:us-west-2:123456789012:db:mydatabase.final StringIf PreSignedUrl is not specified, this is the region where the source snapshot is located.tags()A list of tags to associate with the replicated automated backups.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sourceDBInstanceArn
The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example,
arn:aws:rds:us-west-2:123456789012:db:mydatabase.- Returns:
- The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for
example,
arn:aws:rds:us-west-2:123456789012:db:mydatabase.
-
backupRetentionPeriod
The retention period for the replicated automated backups.
- Returns:
- The retention period for the replicated automated backups.
-
kmsKeyId
The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example,
arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.- Returns:
- The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS
key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web
Services Region, for example,
arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
-
preSignedUrl
In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the
StartDBInstanceAutomatedBackupsReplicationoperation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for theStartDBInstanceAutomatedBackupsReplicationAPI operation that can run in the Amazon Web Services Region that contains the source DB instance.This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify
SourceRegion(or--source-regionfor the CLI) instead of specifyingPreSignedUrlmanually. SpecifyingSourceRegionautogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.- Returns:
- In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request
for the
StartDBInstanceAutomatedBackupsReplicationoperation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for theStartDBInstanceAutomatedBackupsReplicationAPI operation that can run in the Amazon Web Services Region that contains the source DB instance.This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify
SourceRegion(or--source-regionfor the CLI) instead of specifyingPreSignedUrlmanually. SpecifyingSourceRegionautogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tags
A list of tags to associate with the replicated automated backups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()method.- Returns:
- A list of tags to associate with the replicated automated backups.
-
sourceRegion
If PreSignedUrl is not specified, this is the region where the source snapshot is located. A PreSignedUrl will be generated automatically by the SDK.- Returns:
- If PreSignedUrl is not specified, this is the region where the source snapshot is located. A PreSignedUrl will be generated automatically by the SDK.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartDbInstanceAutomatedBackupsReplicationRequest.Builder,StartDbInstanceAutomatedBackupsReplicationRequest> - Specified by:
toBuilderin classRdsRequest
-
builder
-
serializableBuilderClass
public static Class<? extends StartDbInstanceAutomatedBackupsReplicationRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-