Interface GetDataAccessResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>,S3ControlResponse.Builder,SdkBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDataAccessResponse
@Mutable @NotThreadSafe public static interface GetDataAccessResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDataAccessResponse.Buildercredentials(Consumer<Credentials.Builder> credentials)The temporary credential token that S3 Access Grants vends.GetDataAccessResponse.Buildercredentials(Credentials credentials)The temporary credential token that S3 Access Grants vends.default GetDataAccessResponse.Buildergrantee(Consumer<Grantee.Builder> grantee)The user, group, or role that was granted access to the S3 location scope.GetDataAccessResponse.Buildergrantee(Grantee grantee)The user, group, or role that was granted access to the S3 location scope.GetDataAccessResponse.BuildermatchedGrantTarget(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 Detail
-
credentials
GetDataAccessResponse.Builder credentials(Credentials 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
default GetDataAccessResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
The temporary credential token that S3 Access Grants vends.
This is a convenience method that creates an instance of theCredentials.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,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:
credentials(Credentials)
-
matchedGrantTarget
GetDataAccessResponse.Builder matchedGrantTarget(String 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
GetDataAccessResponse.Builder grantee(Grantee 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
default GetDataAccessResponse.Builder grantee(Consumer<Grantee.Builder> 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.Builderavoiding the need to create one manually viaGrantee.builder().When the
Consumercompletes,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:
grantee(Grantee)
-
-