Interface ComponentLatestVersion.Builder

  • Method Details

    • arn

      The ARN of the component version.

      Parameters:
      arn - The ARN of the component version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentVersion

      ComponentLatestVersion.Builder componentVersion(String componentVersion)

      The version of the component.

      Parameters:
      componentVersion - The version of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTimestamp

      ComponentLatestVersion.Builder creationTimestamp(Instant creationTimestamp)

      The time at which the component was created, expressed in ISO 8601 format.

      Parameters:
      creationTimestamp - The time at which the component was created, expressed in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ComponentLatestVersion.Builder description(String description)

      The description of the component version.

      Parameters:
      description - The description of the component version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publisher

      ComponentLatestVersion.Builder publisher(String publisher)

      The publisher of the component version.

      Parameters:
      publisher - The publisher of the component version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      The platforms that the component version supports.

      Parameters:
      platforms - The platforms that the component version supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      The platforms that the component version supports.

      Parameters:
      platforms - The platforms that the component version supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      The platforms that the component version supports.

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

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

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