Class ListCallerAccessGrantsEntry
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.ListCallerAccessGrantsEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListCallerAccessGrantsEntry.Builder,ListCallerAccessGrantsEntry>
@Generated("software.amazon.awssdk:codegen") public final class ListCallerAccessGrantsEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListCallerAccessGrantsEntry.Builder,ListCallerAccessGrantsEntry>
Part of
ListCallerAccessGrantsResult. Each entry includes the permission level (READ, WRITE, or READWRITE) and the grant scope of the access grant. If the grant also includes an application ARN, the grantee can only access the S3 data through this application.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListCallerAccessGrantsEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationArn()The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance.static ListCallerAccessGrantsEntry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgrantScope()The S3 path of the data to which you have been granted access.inthashCode()Permissionpermission()The type of permission granted, which can be one of the following values:StringpermissionAsString()The type of permission granted, which can be one of the following values:Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListCallerAccessGrantsEntry.Builder>serializableBuilderClass()ListCallerAccessGrantsEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
permission
public final Permission permission()
The type of permission granted, which can be one of the following values:
-
READ- Grants read-only access to the S3 data. -
WRITE- Grants write-only access to the S3 data. -
READWRITE- Grants both read and write access to the S3 data.
If the service returns an enum value that is not available in the current SDK version,
permissionwill returnPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- The type of permission granted, which can be one of the following values:
-
READ- Grants read-only access to the S3 data. -
WRITE- Grants write-only access to the S3 data. -
READWRITE- Grants both read and write access to the S3 data.
-
- See Also:
Permission
-
-
permissionAsString
public final String permissionAsString()
The type of permission granted, which can be one of the following values:
-
READ- Grants read-only access to the S3 data. -
WRITE- Grants write-only access to the S3 data. -
READWRITE- Grants both read and write access to the S3 data.
If the service returns an enum value that is not available in the current SDK version,
permissionwill returnPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- The type of permission granted, which can be one of the following values:
-
READ- Grants read-only access to the S3 data. -
WRITE- Grants write-only access to the S3 data. -
READWRITE- Grants both read and write access to the S3 data.
-
- See Also:
Permission
-
-
grantScope
public final String grantScope()
The S3 path of the data to which you have been granted access.
- Returns:
- The S3 path of the data to which you have been granted access.
-
applicationArn
public final String applicationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
- Returns:
- The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
-
toBuilder
public ListCallerAccessGrantsEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListCallerAccessGrantsEntry.Builder,ListCallerAccessGrantsEntry>
-
builder
public static ListCallerAccessGrantsEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListCallerAccessGrantsEntry.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-