Class ImagePermission
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.ImagePermission
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImagePermission.Builder,ImagePermission>
@Generated("software.amazon.awssdk:codegen") public final class ImagePermission extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImagePermission.Builder,ImagePermission>
Describes the Amazon Web Services accounts that have been granted permission to use a shared image. For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImagePermission.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImagePermission.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImagePermission.Builder>serializableBuilderClass()StringsharedAccountId()The identifier of the Amazon Web Services account that an image has been shared with.ImagePermission.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
-
sharedAccountId
public final String sharedAccountId()
The identifier of the Amazon Web Services account that an image has been shared with.
- Returns:
- The identifier of the Amazon Web Services account that an image has been shared with.
-
toBuilder
public ImagePermission.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImagePermission.Builder,ImagePermission>
-
builder
public static ImagePermission.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImagePermission.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
-
-