Class SecretValue

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

public class SecretValue extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • SecretValue

      public SecretValue()
  • Method Details

    • getSecretString

      public String getSecretString()
    • setSecretString

      public void setSecretString(String secretString)
    • withSecretString

      public SecretValue withSecretString(String secretString)
    • getSecretBinary

      public byte[] getSecretBinary()
    • setSecretBinary

      public void setSecretBinary(byte[] secretBinary)
    • withSecretBinary

      public SecretValue withSecretBinary(byte[] secretBinary)
    • getSetUnionMember

      public SecretValue.UnionMember getSetUnionMember()
      Returns an indicator for which enum member is set. Can be used to convert to proper type.
    • 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
    • selfDesignateSetUnionMember

      public void selfDesignateSetUnionMember()
    • postFromJson

      public void postFromJson()
      Description copied from interface: EventStreamJsonMessage
      If anything needs to be done in memory after parsing from JSON, override and perform it here
      Specified by:
      postFromJson in interface EventStreamJsonMessage
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object