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) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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.
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StartDbInstanceAutomatedBackupsReplicationRequest.Builder,StartDbInstanceAutomatedBackupsReplicationRequest> - Specified by:
toBuilderin classRdsRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends StartDbInstanceAutomatedBackupsReplicationRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-