Interface OneDriveUsers.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OneDriveUsers.Builder,OneDriveUsers>, SdkBuilder<OneDriveUsers.Builder,OneDriveUsers>, SdkPojo
Enclosing class:
OneDriveUsers

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

    • oneDriveUserList

      OneDriveUsers.Builder oneDriveUserList(Collection<String> oneDriveUserList)

      A list of users whose documents should be indexed. Specify the user names in email format, for example, username@tenantdomain. If you need to index the documents of more than 100 users, use the OneDriveUserS3Path field to specify the location of a file containing a list of users.

      Parameters:
      oneDriveUserList - A list of users whose documents should be indexed. Specify the user names in email format, for example, username@tenantdomain. If you need to index the documents of more than 100 users, use the OneDriveUserS3Path field to specify the location of a file containing a list of users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oneDriveUserList

      OneDriveUsers.Builder oneDriveUserList(String... oneDriveUserList)

      A list of users whose documents should be indexed. Specify the user names in email format, for example, username@tenantdomain. If you need to index the documents of more than 100 users, use the OneDriveUserS3Path field to specify the location of a file containing a list of users.

      Parameters:
      oneDriveUserList - A list of users whose documents should be indexed. Specify the user names in email format, for example, username@tenantdomain. If you need to index the documents of more than 100 users, use the OneDriveUserS3Path field to specify the location of a file containing a list of users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oneDriveUserS3Path

      OneDriveUsers.Builder oneDriveUserS3Path(S3Path oneDriveUserS3Path)

      The S3 bucket location of a file containing a list of users whose documents should be indexed.

      Parameters:
      oneDriveUserS3Path - The S3 bucket location of a file containing a list of users whose documents should be indexed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oneDriveUserS3Path

      default OneDriveUsers.Builder oneDriveUserS3Path(Consumer<S3Path.Builder> oneDriveUserS3Path)

      The S3 bucket location of a file containing a list of users whose documents should be indexed.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to oneDriveUserS3Path(S3Path).

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