Class SelfservicePermissions

    • Method Detail

      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • 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:
        ReconnectEnum
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)