Class SecretValue
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.SecretValue
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class SecretValue extends Object implements EventStreamJsonMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecretValue.UnionMember
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPE
-
Constructor Summary
Constructors Constructor Description SecretValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.byte[]getSecretBinary()StringgetSecretString()SecretValue.UnionMembergetSetUnionMember()Returns an indicator for which enum member is set.inthashCode()voidpostFromJson()If anything needs to be done in memory after parsing from JSON, override and perform it herevoidselfDesignateSetUnionMember()voidsetSecretBinary(byte[] secretBinary)voidsetSecretString(String secretString)SecretValuewithSecretBinary(byte[] secretBinary)SecretValuewithSecretString(String secretString)-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
selfDesignateSetUnionMember
public void selfDesignateSetUnionMember()
-
postFromJson
public void postFromJson()
Description copied from interface:EventStreamJsonMessageIf anything needs to be done in memory after parsing from JSON, override and perform it here- Specified by:
postFromJsonin interfaceEventStreamJsonMessage
-
-