Interface CreateComponentResponse.Builder

  • Method Details

    • requestId

      The request ID that uniquely identifies this request.

      Parameters:
      requestId - The request ID that uniquely identifies this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateComponentResponse.Builder clientToken(String clientToken)

      The client token that uniquely identifies the request.

      Parameters:
      clientToken - The client token that uniquely identifies the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentBuildVersionArn

      CreateComponentResponse.Builder componentBuildVersionArn(String componentBuildVersionArn)

      The Amazon Resource Name (ARN) of the component that the request created.

      Parameters:
      componentBuildVersionArn - The Amazon Resource Name (ARN) of the component that the request created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestVersionReferences

      CreateComponentResponse.Builder latestVersionReferences(LatestVersionReferences latestVersionReferences)

      A set of wildcard version ARNs that always reference the latest version of the resource. ARNs are included for the latest version overall, and for the latest versions within the same major, minor, and patch levels.

      Parameters:
      latestVersionReferences - A set of wildcard version ARNs that always reference the latest version of the resource. ARNs are included for the latest version overall, and for the latest versions within the same major, minor, and patch levels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestVersionReferences

      default CreateComponentResponse.Builder latestVersionReferences(Consumer<LatestVersionReferences.Builder> latestVersionReferences)

      A set of wildcard version ARNs that always reference the latest version of the resource. ARNs are included for the latest version overall, and for the latest versions within the same major, minor, and patch levels.

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

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

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