Interface CreateFolderRequest.Builder

    • Method Detail

      • 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

        CreateFolderRequest.Builder name​(String 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, FolderType
      • 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:
        FolderType, FolderType
      • 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

        CreateFolderRequest.Builder permissions​(Collection<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

        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.
      • tags

        CreateFolderRequest.Builder tags​(Collection<Tag> 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

        CreateFolderRequest.Builder tags​(Tag... 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

        CreateFolderRequest.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)
      • 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, SharingModel
      • 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:
        SharingModel, SharingModel