Class SelfservicePermissions

java.lang.Object
software.amazon.awssdk.services.workspaces.model.SelfservicePermissions
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<SelfservicePermissions.Builder,SelfservicePermissions>

@Generated("software.amazon.awssdk:codegen") public final class SelfservicePermissions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SelfservicePermissions.Builder,SelfservicePermissions>

Describes the self-service permissions for a directory. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.

See Also:
  • Method Details

    • restartWorkspace

      public final ReconnectEnum restartWorkspace()

      Specifies whether users can restart their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, restartWorkspace will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from restartWorkspaceAsString().

      Returns:
      Specifies whether users can restart their WorkSpace.
      See Also:
    • restartWorkspaceAsString

      public final String restartWorkspaceAsString()

      Specifies whether users can restart their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, restartWorkspace will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from restartWorkspaceAsString().

      Returns:
      Specifies whether users can restart their WorkSpace.
      See Also:
    • increaseVolumeSize

      public final ReconnectEnum increaseVolumeSize()

      Specifies whether users can increase the volume size of the drives on their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, increaseVolumeSize will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from increaseVolumeSizeAsString().

      Returns:
      Specifies whether users can increase the volume size of the drives on their WorkSpace.
      See Also:
    • increaseVolumeSizeAsString

      public final String increaseVolumeSizeAsString()

      Specifies whether users can increase the volume size of the drives on their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, increaseVolumeSize will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from increaseVolumeSizeAsString().

      Returns:
      Specifies whether users can increase the volume size of the drives on their WorkSpace.
      See Also:
    • changeComputeType

      public final ReconnectEnum changeComputeType()

      Specifies whether users can change the compute type (bundle) for their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, changeComputeType will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from changeComputeTypeAsString().

      Returns:
      Specifies whether users can change the compute type (bundle) for their WorkSpace.
      See Also:
    • changeComputeTypeAsString

      public final String changeComputeTypeAsString()

      Specifies whether users can change the compute type (bundle) for their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, changeComputeType will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from changeComputeTypeAsString().

      Returns:
      Specifies whether users can change the compute type (bundle) for their WorkSpace.
      See Also:
    • switchRunningMode

      public final ReconnectEnum switchRunningMode()

      Specifies whether users can switch the running mode of their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, switchRunningMode will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from switchRunningModeAsString().

      Returns:
      Specifies whether users can switch the running mode of their WorkSpace.
      See Also:
    • switchRunningModeAsString

      public final String switchRunningModeAsString()

      Specifies whether users can switch the running mode of their WorkSpace.

      If the service returns an enum value that is not available in the current SDK version, switchRunningMode will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from switchRunningModeAsString().

      Returns:
      Specifies whether users can switch the running mode of their WorkSpace.
      See Also:
    • rebuildWorkspace

      public final ReconnectEnum rebuildWorkspace()

      Specifies whether users can rebuild the operating system of a WorkSpace to its original state.

      If the service returns an enum value that is not available in the current SDK version, rebuildWorkspace will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from rebuildWorkspaceAsString().

      Returns:
      Specifies whether users can rebuild the operating system of a WorkSpace to its original state.
      See Also:
    • rebuildWorkspaceAsString

      public final String rebuildWorkspaceAsString()

      Specifies whether users can rebuild the operating system of a WorkSpace to its original state.

      If the service returns an enum value that is not available in the current SDK version, rebuildWorkspace will return ReconnectEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from rebuildWorkspaceAsString().

      Returns:
      Specifies whether users can rebuild the operating system of a WorkSpace to its original state.
      See Also:
    • toBuilder

      public SelfservicePermissions.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<SelfservicePermissions.Builder,SelfservicePermissions>
      Returns:
      a builder for type T
    • builder

      public static SelfservicePermissions.Builder builder()
    • serializableBuilderClass

      public static Class<? extends SelfservicePermissions.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.