Interface ListVirtualMfaDevicesResponse.Builder

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

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

    • virtualMFADevices

      ListVirtualMfaDevicesResponse.Builder virtualMFADevices(Collection<VirtualMFADevice> virtualMFADevices)

      The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request.

      Parameters:
      virtualMFADevices - The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • virtualMFADevices

      ListVirtualMfaDevicesResponse.Builder virtualMFADevices(VirtualMFADevice... virtualMFADevices)

      The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request.

      Parameters:
      virtualMFADevices - The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • virtualMFADevices

      The list of virtual MFA devices in the current account that match the AssignmentStatus value that was passed in the request.

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

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

      Parameters:
      virtualMFADevices - a consumer that will call methods on VirtualMFADevice.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.