Class GetSecretValueResponse
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.GetSecretValueResponse
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class GetSecretValueResponse extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic GetSecretValueResponseVOID
-
Constructor Summary
Constructors Constructor Description GetSecretValueResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.StringgetSecretId()The ID of the secret.SecretValuegetSecretValue()The value of this version of the secret.StringgetVersionId()The ID of this version of the secret.List<String>getVersionStage()The list of staging labels attached to this version of the secret.inthashCode()voidsetSecretId(String secretId)The ID of the secret.voidsetSecretValue(SecretValue secretValue)The value of this version of the secret.voidsetVersionId(String versionId)The ID of this version of the secret.voidsetVersionStage(List<String> versionStage)The list of staging labels attached to this version of the secret.GetSecretValueResponsewithSecretId(String secretId)The ID of the secret.GetSecretValueResponsewithSecretValue(SecretValue secretValue)The value of this version of the secret.GetSecretValueResponsewithVersionId(String versionId)The ID of this version of the secret.GetSecretValueResponsewithVersionStage(List<String> versionStage)The list of staging labels attached to this version of the secret.-
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, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final GetSecretValueResponse VOID
-
-
Method Detail
-
getSecretId
public String getSecretId()
The ID of the secret.
-
setSecretId
public void setSecretId(String secretId)
The ID of the secret.
-
withSecretId
public GetSecretValueResponse withSecretId(String secretId)
The ID of the secret.
-
getVersionId
public String getVersionId()
The ID of this version of the secret.
-
setVersionId
public void setVersionId(String versionId)
The ID of this version of the secret.
-
withVersionId
public GetSecretValueResponse withVersionId(String versionId)
The ID of this version of the secret.
-
getVersionStage
public List<String> getVersionStage()
The list of staging labels attached to this version of the secret.
-
setVersionStage
public void setVersionStage(List<String> versionStage)
The list of staging labels attached to this version of the secret.
-
withVersionStage
public GetSecretValueResponse withVersionStage(List<String> versionStage)
The list of staging labels attached to this version of the secret.
-
getSecretValue
public SecretValue getSecretValue()
The value of this version of the secret.
-
setSecretValue
public void setSecretValue(SecretValue secretValue)
The value of this version of the secret.
-
withSecretValue
public GetSecretValueResponse withSecretValue(SecretValue secretValue)
The value of this version of the secret.
-
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
-
-