Class GetSecretValueRequest
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.GetSecretValueRequest
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.The name of the secret to get.(Optional) The ID of the version to get.(Optional) The staging label of the version to get.inthashCode()(Optional) Whether to fetch the latest secret from cloud when the request is handled.voidsetRefresh(Boolean refresh) (Optional) Whether to fetch the latest secret from cloud when the request is handled.voidsetSecretId(String secretId) The name of the secret to get.voidsetVersionId(String versionId) (Optional) The ID of the version to get.voidsetVersionStage(String versionStage) (Optional) The staging label of the version to get.withRefresh(Boolean refresh) (Optional) Whether to fetch the latest secret from cloud when the request is handled.withSecretId(String secretId) The name of the secret to get.withVersionId(String versionId) (Optional) The ID of the version to get.withVersionStage(String versionStage) (Optional) The staging label of the version to get.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
APPLICATION_MODEL_TYPE
- See Also:
-
VOID
-
-
Constructor Details
-
GetSecretValueRequest
public GetSecretValueRequest()
-
-
Method Details
-
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
The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret. -
withSecretId
The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret. -
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
(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
(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
(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
(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
(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
(Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false. -
setRefresh
(Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false. -
withRefresh
(Optional) Whether to fetch the latest secret from cloud when the request is handled. Defaults to false. -
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
-
equals
-
hashCode
public int hashCode()
-