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 String
APPLICATION_MODEL_TYPE
static GetSecretValueResponse
VOID
-
Constructor Summary
Constructors Constructor Description GetSecretValueResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getSecretId()
The ID of the secret.SecretValue
getSecretValue()
The value of this version of the secret.String
getVersionId()
The ID of this version of the secret.List<String>
getVersionStage()
The list of staging labels attached to this version of the secret.int
hashCode()
void
setSecretId(String secretId)
The ID of the secret.void
setSecretValue(SecretValue secretValue)
The value of this version of the secret.void
setVersionId(String versionId)
The ID of this version of the secret.void
setVersionStage(List<String> versionStage)
The list of staging labels attached to this version of the secret.GetSecretValueResponse
withSecretId(String secretId)
The ID of the secret.GetSecretValueResponse
withSecretValue(SecretValue secretValue)
The value of this version of the secret.GetSecretValueResponse
withVersionId(String versionId)
The ID of this version of the secret.GetSecretValueResponse
withVersionStage(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:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-