@Generated(value="software.amazon.awssdk:codegen") public class TargetGrant extends Object implements ToCopyableBuilder<TargetGrant.Builder,TargetGrant>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetGrant.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetGrant.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Grantee |
grantee()
Returns the value of the Grantee property for this object.
|
int |
hashCode() |
BucketLogsPermission |
permission()
Logging permissions assigned to the Grantee for the bucket.
|
String |
permissionAsString()
Logging permissions assigned to the Grantee for the bucket.
|
static Class<? extends TargetGrant.Builder> |
serializableBuilderClass() |
TargetGrant.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Grantee grantee()
public BucketLogsPermission permission()
If the service returns an enum value that is not available in the current SDK version, permission will
return BucketLogsPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from permissionAsString().
BucketLogsPermissionpublic String permissionAsString()
If the service returns an enum value that is not available in the current SDK version, permission will
return BucketLogsPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from permissionAsString().
BucketLogsPermissionpublic TargetGrant.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TargetGrant.Builder,TargetGrant>public static TargetGrant.Builder builder()
public static Class<? extends TargetGrant.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.