Class StartDbInstanceAutomatedBackupsReplicationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rds.model.RdsRequest
-
- software.amazon.awssdk.services.rds.model.StartDbInstanceAutomatedBackupsReplicationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartDbInstanceAutomatedBackupsReplicationRequest.Builder,StartDbInstanceAutomatedBackupsReplicationRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartDbInstanceAutomatedBackupsReplicationRequest extends RdsRequest implements ToCopyableBuilder<StartDbInstanceAutomatedBackupsReplicationRequest.Builder,StartDbInstanceAutomatedBackupsReplicationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartDbInstanceAutomatedBackupsReplicationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerbackupRetentionPeriod()The retention period for the replicated automated backups.static StartDbInstanceAutomatedBackupsReplicationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.StringkmsKeyId()The Amazon Web Services KMS key identifier for encryption of the replicated automated backups.StringpreSignedUrl()In 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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartDbInstanceAutomatedBackupsReplicationRequest.Builder>serializableBuilderClass()StringsourceDBInstanceArn()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.StringsourceRegion()If PreSignedUrl is not specified, this is the region where the source snapshot is located.List<Tag>tags()A list of tags to associate with the replicated automated backups.StartDbInstanceAutomatedBackupsReplicationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceDBInstanceArn
public final String 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
public final Integer backupRetentionPeriod()
The retention period for the replicated automated backups.
- Returns:
- The retention period for the replicated automated backups.
-
kmsKeyId
public final String 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
public final String 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
public final List<Tag> 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
public final String 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
public StartDbInstanceAutomatedBackupsReplicationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartDbInstanceAutomatedBackupsReplicationRequest.Builder,StartDbInstanceAutomatedBackupsReplicationRequest>- Specified by:
toBuilderin classRdsRequest
-
builder
public static StartDbInstanceAutomatedBackupsReplicationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartDbInstanceAutomatedBackupsReplicationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-