Class GetSecretValueRequest

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.GetSecretValueRequest
All Implemented Interfaces:
EventStreamJsonMessage

public class GetSecretValueRequest extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • GetSecretValueRequest

      public GetSecretValueRequest()
  • Method Details

    • 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.
    • getApplicationModelType

      public String getApplicationModelType()
      Description copied from interface: EventStreamJsonMessage
      Returns the named model type. May be used for a header.
      Specified by:
      getApplicationModelType in interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object