Interface GetManagedEndpointSessionCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetManagedEndpointSessionCredentialsRequest.Builder,
,GetManagedEndpointSessionCredentialsRequest> EmrContainersRequest.Builder
,SdkBuilder<GetManagedEndpointSessionCredentialsRequest.Builder,
,GetManagedEndpointSessionCredentialsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetManagedEndpointSessionCredentialsRequest
public static interface GetManagedEndpointSessionCredentialsRequest.Builder
extends EmrContainersRequest.Builder, SdkPojo, CopyableBuilder<GetManagedEndpointSessionCredentialsRequest.Builder,GetManagedEndpointSessionCredentialsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The client idempotency token of the job run request.credentialType
(String credentialType) Type of the token requested.durationInSeconds
(Integer durationInSeconds) Duration in seconds for which the session token is valid.endpointIdentifier
(String endpointIdentifier) The ARN of the managed endpoint for which the request is submitted.executionRoleArn
(String executionRoleArn) The IAM Execution Role ARN that will be used by the job run.logContext
(String logContext) String identifier used to separate sections of the execution logs uploaded to S3.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.virtualClusterIdentifier
(String virtualClusterIdentifier) The ARN of the Virtual Cluster which the Managed Endpoint belongs to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
endpointIdentifier
The ARN of the managed endpoint for which the request is submitted.
- Parameters:
endpointIdentifier
- The ARN of the managed endpoint for which the request is submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualClusterIdentifier
GetManagedEndpointSessionCredentialsRequest.Builder virtualClusterIdentifier(String virtualClusterIdentifier) The ARN of the Virtual Cluster which the Managed Endpoint belongs to.
- Parameters:
virtualClusterIdentifier
- The ARN of the Virtual Cluster which the Managed Endpoint belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The IAM Execution Role ARN that will be used by the job run.
- Parameters:
executionRoleArn
- The IAM Execution Role ARN that will be used by the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialType
Type of the token requested. Currently supported and default value of this field is “TOKEN.”
- Parameters:
credentialType
- Type of the token requested. Currently supported and default value of this field is “TOKEN.”- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInSeconds
Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours.
- Parameters:
durationInSeconds
- Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logContext
String identifier used to separate sections of the execution logs uploaded to S3.
- Parameters:
logContext
- String identifier used to separate sections of the execution logs uploaded to S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The client idempotency token of the job run request.
- Parameters:
clientToken
- The client idempotency token of the job run request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetManagedEndpointSessionCredentialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetManagedEndpointSessionCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-