@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicateSecretToRegionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ReplicateSecretToRegionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReplicateSecretToRegionsRequest |
clone() |
boolean |
equals(Object obj) |
List<ReplicaRegionType> |
getAddReplicaRegions()
Add Regions to replicate the secret.
|
Boolean |
getForceOverwriteReplicaSecret()
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
|
String |
getSecretId()
Use the
Secret Id to replicate a secret to regions. |
int |
hashCode() |
Boolean |
isForceOverwriteReplicaSecret()
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
|
void |
setAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
Add Regions to replicate the secret.
|
void |
setForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
|
void |
setSecretId(String secretId)
Use the
Secret Id to replicate a secret to regions. |
String |
toString()
Returns a string representation of this object.
|
ReplicateSecretToRegionsRequest |
withAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
Add Regions to replicate the secret.
|
ReplicateSecretToRegionsRequest |
withAddReplicaRegions(ReplicaRegionType... addReplicaRegions)
Add Regions to replicate the secret.
|
ReplicateSecretToRegionsRequest |
withForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
|
ReplicateSecretToRegionsRequest |
withSecretId(String secretId)
Use the
Secret Id to replicate a secret to regions. |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setSecretId(String secretId)
Use the Secret Id to replicate a secret to regions.
secretId - Use the Secret Id to replicate a secret to regions.public String getSecretId()
Use the Secret Id to replicate a secret to regions.
Secret Id to replicate a secret to regions.public ReplicateSecretToRegionsRequest withSecretId(String secretId)
Use the Secret Id to replicate a secret to regions.
secretId - Use the Secret Id to replicate a secret to regions.public List<ReplicaRegionType> getAddReplicaRegions()
Add Regions to replicate the secret.
public void setAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
Add Regions to replicate the secret.
addReplicaRegions - Add Regions to replicate the secret.public ReplicateSecretToRegionsRequest withAddReplicaRegions(ReplicaRegionType... addReplicaRegions)
Add Regions to replicate the secret.
NOTE: This method appends the values to the existing list (if any). Use
setAddReplicaRegions(java.util.Collection) or withAddReplicaRegions(java.util.Collection) if
you want to override the existing values.
addReplicaRegions - Add Regions to replicate the secret.public ReplicateSecretToRegionsRequest withAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)
Add Regions to replicate the secret.
addReplicaRegions - Add Regions to replicate the secret.public void setForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
forceOverwriteReplicaSecret - (Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination
region.public Boolean getForceOverwriteReplicaSecret()
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
public ReplicateSecretToRegionsRequest withForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
forceOverwriteReplicaSecret - (Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination
region.public Boolean isForceOverwriteReplicaSecret()
(Optional) If set, Secrets Manager replication overwrites a secret with the same name in the destination region.
public String toString()
toString in class ObjectObject.toString()public ReplicateSecretToRegionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.