Interface GetManagedEndpointSessionCredentialsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedEndpointSessionCredentialsResponse.Builder,GetManagedEndpointSessionCredentialsResponse>,EmrContainersResponse.Builder,SdkBuilder<GetManagedEndpointSessionCredentialsResponse.Builder,GetManagedEndpointSessionCredentialsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetManagedEndpointSessionCredentialsResponse
public static interface GetManagedEndpointSessionCredentialsResponse.Builder extends EmrContainersResponse.Builder, SdkPojo, CopyableBuilder<GetManagedEndpointSessionCredentialsResponse.Builder,GetManagedEndpointSessionCredentialsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetManagedEndpointSessionCredentialsResponse.Buildercredentials(Consumer<Credentials.Builder> credentials)The structure containing the session credentials.GetManagedEndpointSessionCredentialsResponse.Buildercredentials(Credentials credentials)The structure containing the session credentials.GetManagedEndpointSessionCredentialsResponse.BuilderexpiresAt(Instant expiresAt)The date and time when the session token will expire.GetManagedEndpointSessionCredentialsResponse.Builderid(String id)The identifier of the session token returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
id
GetManagedEndpointSessionCredentialsResponse.Builder id(String id)
The identifier of the session token returned.
- Parameters:
id- The identifier of the session token returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
GetManagedEndpointSessionCredentialsResponse.Builder credentials(Credentials credentials)
The structure containing the session credentials.
- Parameters:
credentials- The structure containing the session credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default GetManagedEndpointSessionCredentialsResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The structure containing the session credentials.
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)
-
expiresAt
GetManagedEndpointSessionCredentialsResponse.Builder expiresAt(Instant expiresAt)
The date and time when the session token will expire.
- Parameters:
expiresAt- The date and time when the session token will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-