Interface ListMfaDevicesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListMfaDevicesResponse.Builder,ListMfaDevicesResponse>, IamResponse.Builder, SdkBuilder<ListMfaDevicesResponse.Builder,ListMfaDevicesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListMfaDevicesResponse

public static interface ListMfaDevicesResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListMfaDevicesResponse.Builder,ListMfaDevicesResponse>
  • Method Details

    • mfaDevices

      A list of MFA devices.

      Parameters:
      mfaDevices - A list of MFA devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mfaDevices

      ListMfaDevicesResponse.Builder mfaDevices(MFADevice... mfaDevices)

      A list of MFA devices.

      Parameters:
      mfaDevices - A list of MFA devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mfaDevices

      A list of MFA devices.

      This is a convenience method that creates an instance of the MFADevice.Builder avoiding the need to create one manually via MFADevice.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mfaDevices(List<MFADevice>).

      Parameters:
      mfaDevices - a consumer that will call methods on MFADevice.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isTruncated

      ListMfaDevicesResponse.Builder isTruncated(Boolean isTruncated)

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

      Parameters:
      isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marker

      When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Parameters:
      marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.