Interface GetTemporaryDataLocationCredentialsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTemporaryDataLocationCredentialsResponse.Builder,,GetTemporaryDataLocationCredentialsResponse> LakeFormationResponse.Builder,SdkBuilder<GetTemporaryDataLocationCredentialsResponse.Builder,,GetTemporaryDataLocationCredentialsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTemporaryDataLocationCredentialsResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessibleDataLocations(String... accessibleDataLocations) Refers to the Amazon S3 locations that can be accessed through theGetTemporaryCredentialsForLocationAPI operation.accessibleDataLocations(Collection<String> accessibleDataLocations) Refers to the Amazon S3 locations that can be accessed through theGetTemporaryCredentialsForLocationAPI operation.credentials(Consumer<TemporaryCredentials.Builder> credentials) Sets the value of the Credentials property for this object.credentials(TemporaryCredentials credentials) Sets the value of the Credentials 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
credentials
Sets the value of the Credentials property for this object.- Parameters:
credentials- The new value for the Credentials property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default GetTemporaryDataLocationCredentialsResponse.Builder credentials(Consumer<TemporaryCredentials.Builder> credentials) Sets the value of the Credentials property for this object. This is a convenience method that creates an instance of theTemporaryCredentials.Builderavoiding the need to create one manually viaTemporaryCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(TemporaryCredentials).- Parameters:
credentials- a consumer that will call methods onTemporaryCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessibleDataLocations
GetTemporaryDataLocationCredentialsResponse.Builder accessibleDataLocations(Collection<String> accessibleDataLocations) Refers to the Amazon S3 locations that can be accessed through the
GetTemporaryCredentialsForLocationAPI operation.- Parameters:
accessibleDataLocations- Refers to the Amazon S3 locations that can be accessed through theGetTemporaryCredentialsForLocationAPI operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessibleDataLocations
GetTemporaryDataLocationCredentialsResponse.Builder accessibleDataLocations(String... accessibleDataLocations) Refers to the Amazon S3 locations that can be accessed through the
GetTemporaryCredentialsForLocationAPI operation.- Parameters:
accessibleDataLocations- Refers to the Amazon S3 locations that can be accessed through theGetTemporaryCredentialsForLocationAPI operation.- 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
GetTemporaryDataLocationCredentialsResponse.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:
-
-