Interface ComponentResponse.Builder

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

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

    • componentName

      ComponentResponse.Builder componentName(String componentName)

      The name of the component.

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

      ComponentResponse.Builder description(String description)

      The description of the component type.

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

      ComponentResponse.Builder componentTypeId(String componentTypeId)

      The ID of the component type.

      Parameters:
      componentTypeId - The ID of the component type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the component type.

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

      The status of the component type.

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

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

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

      ComponentResponse.Builder definedIn(String definedIn)

      The name of the property definition set in the request.

      Parameters:
      definedIn - The name of the property definition set in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.

      Parameters:
      properties - An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • propertyGroups

      The property groups.

      Parameters:
      propertyGroups - The property groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • syncSource

      ComponentResponse.Builder syncSource(String syncSource)

      The syncSource of the sync job, if this entity was created by a sync job.

      Parameters:
      syncSource - The syncSource of the sync job, if this entity was created by a sync job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.