Interface Resource.Builder

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

@Mutable @NotThreadSafe public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
  • Method Details

    • resourceType

      Resource.Builder resourceType(String resourceType)

      The category of the resource, such as manufacturer support or usage instructions.

      Parameters:
      resourceType - The category of the resource, such as manufacturer support or usage instructions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      Resource.Builder resourceType(ResourceType resourceType)

      The category of the resource, such as manufacturer support or usage instructions.

      Parameters:
      resourceType - The category of the resource, such as manufacturer support or usage instructions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentType

      Resource.Builder contentType(String contentType)

      The format of the resource content, such as a URL, email address, or text.

      Parameters:
      contentType - The format of the resource content, such as a URL, email address, or text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentType

      Resource.Builder contentType(ResourceContentType contentType)

      The format of the resource content, such as a URL, email address, or text.

      Parameters:
      contentType - The format of the resource content, such as a URL, email address, or text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      Resource.Builder value(String value)

      The resource content. Interpretation depends on the content type.

      Parameters:
      value - The resource content. Interpretation depends on the content type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      Resource.Builder displayName(String displayName)

      An optional human-readable label for the resource.

      Parameters:
      displayName - An optional human-readable label for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.