Class GetSecretValueRequest

    • Constructor Detail

      • GetSecretValueRequest

        public GetSecretValueRequest()
    • Method Detail

      • getSecretId

        public String getSecretId()
        The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
      • setSecretId

        public void setSecretId​(String secretId)
        The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
      • withSecretId

        public GetSecretValueRequest withSecretId​(String secretId)
        The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
      • getVersionId

        public String getVersionId()
        (Optional) The ID of the version to get. If you don't specify versionId or versionStage, this operation defaults to the version with the AWSCURRENT label.
      • setVersionId

        public void setVersionId​(String versionId)
        (Optional) The ID of the version to get. If you don't specify versionId or versionStage, this operation defaults to the version with the AWSCURRENT label.
      • withVersionId

        public GetSecretValueRequest withVersionId​(String versionId)
        (Optional) The ID of the version to get. If you don't specify versionId or versionStage, this operation defaults to the version with the AWSCURRENT label.
      • getVersionStage

        public String getVersionStage()
        (Optional) The staging label of the version to get. If you don't specify versionId or versionStage, this operation defaults to the version with the AWSCURRENT label.
      • setVersionStage

        public void setVersionStage​(String versionStage)
        (Optional) The staging label of the version to get. If you don't specify versionId or versionStage, this operation defaults to the version with the AWSCURRENT label.
      • withVersionStage

        public GetSecretValueRequest withVersionStage​(String versionStage)
        (Optional) The staging label of the version to get. If you don't specify versionId or versionStage, this operation defaults to the version with the AWSCURRENT label.
      • isRefresh

        public Boolean isRefresh()
        (Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false.
      • setRefresh

        public void setRefresh​(Boolean refresh)
        (Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false.
      • withRefresh

        public GetSecretValueRequest withRefresh​(Boolean refresh)
        (Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object