Interface ResourceMetadata.Builder

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

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

    • type

      The type of resource.

      Parameters:
      type - The type of resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of resource.

      Parameters:
      type - The type of resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The name of the resource.

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

      ResourceMetadata.Builder originalName(String originalName)

      The original name of the resource before a rename operation.

      Parameters:
      originalName - The original name of the resource before a rename operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the resource.

      Parameters:
      id - The ID of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionId

      ResourceMetadata.Builder versionId(String versionId)

      The version ID of the resource. This is an optional field and is filled for action on document version.

      Parameters:
      versionId - The version ID of the resource. This is an optional field and is filled for action on document version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      The owner of the resource.

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

      The owner of the resource.

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

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

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

      ResourceMetadata.Builder parentId(String parentId)

      The parent ID of the resource before a rename operation.

      Parameters:
      parentId - The parent ID of the resource before a rename operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.