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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAccessTokenResponse.BuilderaccessRequestStatus(String accessRequestStatus)The status of the access request.GetAccessTokenResponse.BuilderaccessRequestStatus(AccessRequestStatus accessRequestStatus)The status of the access request.default GetAccessTokenResponse.Buildercredentials(Consumer<Credentials.Builder> credentials)The temporary security credentials which can be used to start just-in-time node access sessions.GetAccessTokenResponse.Buildercredentials(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 Detail
-
credentials
GetAccessTokenResponse.Builder credentials(Credentials 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
default GetAccessTokenResponse.Builder credentials(Consumer<Credentials.Builder> 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.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,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:
credentials(Credentials)
-
accessRequestStatus
GetAccessTokenResponse.Builder accessRequestStatus(String 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,AccessRequestStatus
-
accessRequestStatus
GetAccessTokenResponse.Builder accessRequestStatus(AccessRequestStatus 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,AccessRequestStatus
-
-