Class DisableUserRequest

    • Method Detail

      • clientToken

        public final String clientToken()

        A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.

        A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.

        If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException.

        This parameter is optional when using the CLI or SDK.

        Returns:
        A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.

        A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.

        If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException.

        This parameter is optional when using the CLI or SDK.

      • directoryId

        public final String directoryId()

        The identifier (ID) of the directory that's associated with the user.

        Returns:
        The identifier (ID) of the directory that's associated with the user.
      • samAccountName

        public final String samAccountName()

        The name of the user.

        Returns:
        The name of the user.
      • 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