Class GetSecretVersionPlainArgs.Builder

  • Enclosing class:
    GetSecretVersionPlainArgs

    public static final class GetSecretVersionPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • secretId

        public GetSecretVersionPlainArgs.Builder secretId​(java.lang.String secretId)
        Parameters:
        secretId - Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
        Returns:
        builder
      • versionId

        public GetSecretVersionPlainArgs.Builder versionId​(@Nullable
                                                           java.lang.String versionId)
        Parameters:
        versionId - Specifies the unique identifier of the version of the secret that you want to retrieve. Overrides `version_stage`.
        Returns:
        builder
      • versionStage

        public GetSecretVersionPlainArgs.Builder versionStage​(@Nullable
                                                              java.lang.String versionStage)
        Parameters:
        versionStage - Specifies the secret version that you want to retrieve by the staging label attached to the version. Defaults to `AWSCURRENT`.
        Returns:
        builder