@Generated(value="software.amazon.awssdk:codegen") public final class CreateVolumePermission extends Object implements SdkPojo, Serializable, 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVolumePermission.Builder> |
serializableBuilderClass() |
CreateVolumePermission.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
copy
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()
.
PermissionGroup
public 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()
.
PermissionGroup
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateVolumePermission.Builder,CreateVolumePermission>
public static CreateVolumePermission.Builder builder()
public static Class<? extends CreateVolumePermission.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.