Class GetDataAccessResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.s3control.model.S3ControlResponse
-
- software.amazon.awssdk.services.s3control.model.GetDataAccessResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetDataAccessResponse extends S3ControlResponse implements ToCopyableBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetDataAccessResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetDataAccessResponse.Builderbuilder()Credentialscredentials()The temporary credential token that S3 Access Grants vends.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Granteegrantee()The user, group, or role that was granted access to the S3 location scope.inthashCode()StringmatchedGrantTarget()The S3 URI path of the data to which you are being granted temporary access credentials.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetDataAccessResponse.Builder>serializableBuilderClass()GetDataAccessResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.s3control.model.S3ControlResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
credentials
public final Credentials credentials()
The temporary credential token that S3 Access Grants vends.
- Returns:
- The temporary credential token that S3 Access Grants vends.
-
matchedGrantTarget
public final String matchedGrantTarget()
The S3 URI path of the data to which you are being granted temporary access credentials.
- Returns:
- The S3 URI path of the data to which you are being granted temporary access credentials.
-
grantee
public final 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.
- Returns:
- 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.
-
toBuilder
public GetDataAccessResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDataAccessResponse.Builder,GetDataAccessResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetDataAccessResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDataAccessResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-