Interface GetAccessTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAccessTokenResponse.Builder,
,GetAccessTokenResponse> SdkBuilder<GetAccessTokenResponse.Builder,
,GetAccessTokenResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
GetAccessTokenResponse
@Mutable
@NotThreadSafe
public static interface GetAccessTokenResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<GetAccessTokenResponse.Builder,GetAccessTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessRequestStatus
(String accessRequestStatus) The status of the access request.accessRequestStatus
(AccessRequestStatus accessRequestStatus) The status of the access request.default GetAccessTokenResponse.Builder
credentials
(Consumer<Credentials.Builder> credentials) The temporary security credentials which can be used to start just-in-time node access sessions.credentials
(Credentials credentials) The temporary security credentials which can be used to start just-in-time node access sessions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
credentials
The temporary security credentials which can be used to start just-in-time node access sessions.
- Parameters:
credentials
- The temporary security credentials which can be used to start just-in-time node access sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
The temporary security credentials which can be used to start just-in-time node access sessions.
This is a convenience method that creates an instance of theCredentials.Builder
avoiding the need to create one manually viaCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(Credentials)
.- Parameters:
credentials
- a consumer that will call methods onCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessRequestStatus
The status of the access request.
- Parameters:
accessRequestStatus
- The status of the access request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessRequestStatus
The status of the access request.
- Parameters:
accessRequestStatus
- The status of the access request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-