Interface CreateFolderRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateFolderRequest.Builder,CreateFolderRequest>, QuickSightRequest.Builder, SdkBuilder<CreateFolderRequest.Builder,CreateFolderRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateFolderRequest

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

    • awsAccountId

      CreateFolderRequest.Builder awsAccountId(String awsAccountId)

      The ID for the Amazon Web Services account where you want to create the folder.

      Parameters:
      awsAccountId - The ID for the Amazon Web Services account where you want to create the folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • folderId

      CreateFolderRequest.Builder folderId(String folderId)

      The ID of the folder.

      Parameters:
      folderId - The ID of the folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the folder.

      Parameters:
      name - The name of the folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • folderType

      CreateFolderRequest.Builder folderType(String folderType)

      The type of folder. By default, folderType is SHARED.

      Parameters:
      folderType - The type of folder. By default, folderType is SHARED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • folderType

      CreateFolderRequest.Builder folderType(FolderType folderType)

      The type of folder. By default, folderType is SHARED.

      Parameters:
      folderType - The type of folder. By default, folderType is SHARED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parentFolderArn

      CreateFolderRequest.Builder parentFolderArn(String parentFolderArn)

      The Amazon Resource Name (ARN) for the parent folder.

      ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.

      Parameters:
      parentFolderArn - The Amazon Resource Name (ARN) for the parent folder.

      ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissions

      A structure that describes the principals and the resource-level permissions of a folder.

      To specify no permissions, omit Permissions.

      Parameters:
      permissions - A structure that describes the principals and the resource-level permissions of a folder.

      To specify no permissions, omit Permissions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissions

      CreateFolderRequest.Builder permissions(ResourcePermission... permissions)

      A structure that describes the principals and the resource-level permissions of a folder.

      To specify no permissions, omit Permissions.

      Parameters:
      permissions - A structure that describes the principals and the resource-level permissions of a folder.

      To specify no permissions, omit Permissions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • permissions

      A structure that describes the principals and the resource-level permissions of a folder.

      To specify no permissions, omit Permissions.

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

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

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

      Tags for the folder.

      Parameters:
      tags - Tags for the folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags for the folder.

      Parameters:
      tags - Tags for the folder.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags for the folder.

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

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

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

      CreateFolderRequest.Builder sharingModel(String sharingModel)

      An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.

      Parameters:
      sharingModel - An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sharingModel

      CreateFolderRequest.Builder sharingModel(SharingModel sharingModel)

      An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.

      Parameters:
      sharingModel - An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateFolderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.