Class CreateWorkspaceServiceAccountRequest

    • Method Detail

      • grafanaRole

        public final Role grafanaRole()

        The permission level to use for this service account.

        For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.

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

        Returns:
        The permission level to use for this service account.

        For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.

        See Also:
        Role
      • grafanaRoleAsString

        public final String grafanaRoleAsString()

        The permission level to use for this service account.

        For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.

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

        Returns:
        The permission level to use for this service account.

        For more information about the roles and the permissions each has, see User roles in the Amazon Managed Grafana User Guide.

        See Also:
        Role
      • name

        public final String name()

        A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.

        Returns:
        A name for the service account. The name must be unique within the workspace, as it determines the ID associated with the service account.
      • workspaceId

        public final String workspaceId()

        The ID of the workspace within which to create the service account.

        Returns:
        The ID of the workspace within which to create the service account.
      • 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