JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.secretsmanager.model

Class ReplicateSecretToRegionsRequest

    • Constructor Detail

      • ReplicateSecretToRegionsRequest

        public ReplicateSecretToRegionsRequest()
    • Method Detail

      • setSecretId

        public void setSecretId(String secretId)

        The ARN or name of the secret to replicate.

        Parameters:
        secretId - The ARN or name of the secret to replicate.
      • getSecretId

        public String getSecretId()

        The ARN or name of the secret to replicate.

        Returns:
        The ARN or name of the secret to replicate.
      • withSecretId

        public ReplicateSecretToRegionsRequest withSecretId(String secretId)

        The ARN or name of the secret to replicate.

        Parameters:
        secretId - The ARN or name of the secret to replicate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAddReplicaRegions

        public List<ReplicaRegionType> getAddReplicaRegions()

        A list of Regions in which to replicate the secret.

        Returns:
        A list of Regions in which to replicate the secret.
      • setAddReplicaRegions

        public void setAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)

        A list of Regions in which to replicate the secret.

        Parameters:
        addReplicaRegions - A list of Regions in which to replicate the secret.
      • withAddReplicaRegions

        public ReplicateSecretToRegionsRequest withAddReplicaRegions(Collection<ReplicaRegionType> addReplicaRegions)

        A list of Regions in which to replicate the secret.

        Parameters:
        addReplicaRegions - A list of Regions in which to replicate the secret.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setForceOverwriteReplicaSecret

        public void setForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)

        Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.

        Parameters:
        forceOverwriteReplicaSecret - Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
      • getForceOverwriteReplicaSecret

        public Boolean getForceOverwriteReplicaSecret()

        Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.

        Returns:
        Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
      • withForceOverwriteReplicaSecret

        public ReplicateSecretToRegionsRequest withForceOverwriteReplicaSecret(Boolean forceOverwriteReplicaSecret)

        Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.

        Parameters:
        forceOverwriteReplicaSecret - Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isForceOverwriteReplicaSecret

        public Boolean isForceOverwriteReplicaSecret()

        Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.

        Returns:
        Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /