Interface MFADevice.Builder

    • Method Detail

      • userName

        MFADevice.Builder userName​(String userName)

        The user with whom the MFA device is associated.

        Parameters:
        userName - The user with whom the MFA device is associated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serialNumber

        MFADevice.Builder serialNumber​(String serialNumber)

        The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

        Parameters:
        serialNumber - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableDate

        MFADevice.Builder enableDate​(Instant enableDate)

        The date when the MFA device was enabled for the user.

        Parameters:
        enableDate - The date when the MFA device was enabled for the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.