Interface GetTemporaryDataLocationCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetTemporaryDataLocationCredentialsRequest.Builder,,GetTemporaryDataLocationCredentialsRequest> LakeFormationRequest.Builder,SdkBuilder<GetTemporaryDataLocationCredentialsRequest.Builder,,GetTemporaryDataLocationCredentialsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetTemporaryDataLocationCredentialsRequest
-
Method Summary
Modifier and TypeMethodDescriptionauditContext(Consumer<AuditContext.Builder> auditContext) Sets the value of the AuditContext property for this object.auditContext(AuditContext auditContext) Sets the value of the AuditContext property for this object.credentialsScope(String credentialsScope) The credential scope is determined by the caller's Lake Formation permission on the associated table.credentialsScope(CredentialsScope credentialsScope) The credential scope is determined by the caller's Lake Formation permission on the associated table.dataLocations(String... dataLocations) The Amazon S3 data location that you want to access.dataLocations(Collection<String> dataLocations) The Amazon S3 data location that you want to access.durationSeconds(Integer durationSeconds) The time period, between 900 and 43,200 seconds, for the timeout of the temporary credentials.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
durationSeconds
The time period, between 900 and 43,200 seconds, for the timeout of the temporary credentials.
- Parameters:
durationSeconds- The time period, between 900 and 43,200 seconds, for the timeout of the temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditContext
Sets the value of the AuditContext property for this object.- Parameters:
auditContext- The new value for the AuditContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditContext
default GetTemporaryDataLocationCredentialsRequest.Builder auditContext(Consumer<AuditContext.Builder> auditContext) Sets the value of the AuditContext property for this object. This is a convenience method that creates an instance of theAuditContext.Builderavoiding the need to create one manually viaAuditContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauditContext(AuditContext).- Parameters:
auditContext- a consumer that will call methods onAuditContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataLocations
The Amazon S3 data location that you want to access.
- Parameters:
dataLocations- The Amazon S3 data location that you want to access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataLocations
The Amazon S3 data location that you want to access.
- Parameters:
dataLocations- The Amazon S3 data location that you want to access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialsScope
The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:
-
READ - Provides read-only access to the data location.
-
READ_WRITE - Provides both read and write access to the data location.
- Parameters:
credentialsScope- The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:-
READ - Provides read-only access to the data location.
-
READ_WRITE - Provides both read and write access to the data location.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
credentialsScope
GetTemporaryDataLocationCredentialsRequest.Builder credentialsScope(CredentialsScope credentialsScope) The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:
-
READ - Provides read-only access to the data location.
-
READ_WRITE - Provides both read and write access to the data location.
- Parameters:
credentialsScope- The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:-
READ - Provides read-only access to the data location.
-
READ_WRITE - Provides both read and write access to the data location.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
GetTemporaryDataLocationCredentialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetTemporaryDataLocationCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-