@Generated(value="software.amazon.awssdk:codegen") public class CreateVolumePermission extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateVolumePermission.Builder,CreateVolumePermission>
Describes the user or group to be added or removed from the permissions for a volume.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateVolumePermission.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateVolumePermission.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
PermissionGroup |
group()
The specific group that is to be added or removed from a volume's list of create volume permissions.
|
String |
groupAsString()
The specific group that is to be added or removed from a volume's list of create volume permissions.
|
int |
hashCode() |
static Class<? extends CreateVolumePermission.Builder> |
serializableBuilderClass() |
CreateVolumePermission.Builder |
toBuilder() |
String |
toString() |
String |
userId()
The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
|
public PermissionGroup group()
The specific group that is to be added or removed from a volume's list of create volume permissions.
If the service returns an enum value that is not available in the current SDK version, group will return
PermissionGroup.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
groupAsString().
PermissionGrouppublic String groupAsString()
The specific group that is to be added or removed from a volume's list of create volume permissions.
If the service returns an enum value that is not available in the current SDK version, group will return
PermissionGroup.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
groupAsString().
PermissionGrouppublic String userId()
The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.
public CreateVolumePermission.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateVolumePermission.Builder,CreateVolumePermission>public static CreateVolumePermission.Builder builder()
public static Class<? extends CreateVolumePermission.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.