Interface GetDataAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataAccessResponse.Builder,
,GetDataAccessResponse> S3ControlResponse.Builder
,SdkBuilder<GetDataAccessResponse.Builder,
,GetDataAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataAccessResponse
public static interface GetDataAccessResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDataAccessResponse.Builder
credentials
(Consumer<Credentials.Builder> credentials) The temporary credential token that S3 Access Grants vends.credentials
(Credentials credentials) The temporary credential token that S3 Access Grants vends.matchedGrantTarget
(String matchedGrantTarget) The S3 URI path of the data to which you are being granted temporary access credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.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 Details
-
credentials
The temporary credential token that S3 Access Grants vends.
- Parameters:
credentials
- The temporary credential token that S3 Access Grants vends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
The temporary credential token that S3 Access Grants vends.
This is a convenience method that creates an instance of theCredentials.Builder
avoiding the need to create one manually viaCredentials.builder()
.When the
Consumer
completes,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:
-
matchedGrantTarget
The S3 URI path of the data to which you are being granted temporary access credentials.
- Parameters:
matchedGrantTarget
- The S3 URI path of the data to which you are being granted temporary access credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-