Class ReplicaRegionType
java.lang.Object
software.amazon.awssdk.services.secretsmanager.model.ReplicaRegionType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicaRegionType.Builder,ReplicaRegionType>
@Generated("software.amazon.awssdk:codegen")
public final class ReplicaRegionType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ReplicaRegionType.Builder,ReplicaRegionType>
A custom type that specifies a Region and the KmsKeyId for a replica secret.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicaRegionType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkmsKeyId()The ARN, key ID, or alias of the KMS key to encrypt the secret.final Stringregion()A Region code.static Class<? extends ReplicaRegionType.Builder>final StringtoString()Returns a string representation of this object.Methods 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
-
region
A Region code. For a list of Region codes, see Name and code of Regions.
- Returns:
- A Region code. For a list of Region codes, see Name and code of Regions.
-
kmsKeyId
The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses
aws/secretsmanager.- Returns:
- The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets
Manager uses
aws/secretsmanager.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicaRegionType.Builder,ReplicaRegionType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-