Interface GetDataAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataAccessResponse.Builder,
,GetDataAccessResponse> S3ControlResponse.Builder
,SdkBuilder<GetDataAccessResponse.Builder,
,GetDataAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
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.default GetDataAccessResponse.Builder
grantee
(Consumer<Grantee.Builder> grantee) The user, group, or role that was granted access to the S3 location scope.The user, group, or role that was granted access to the S3 location scope.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, sdkFieldNameToField, 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.
-
grantee
The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see Granting permissions to use identity-aware console sessions.
- Parameters:
grantee
- The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see Granting permissions to use identity-aware console sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantee
The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see Granting permissions to use identity-aware console sessions.
This is a convenience method that creates an instance of theGrantee.Builder
avoiding the need to create one manually viaGrantee.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tograntee(Grantee)
.- Parameters:
grantee
- a consumer that will call methods onGrantee.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-