Interface ComponentState.Builder

    • Method Detail

      • serviceInstanceName

        ComponentState.Builder serviceInstanceName​(String serviceInstanceName)

        The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.

        Parameters:
        serviceInstanceName - The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        ComponentState.Builder serviceName​(String serviceName)

        The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.

        Parameters:
        serviceName - The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceSpec

        ComponentState.Builder serviceSpec​(String serviceSpec)

        The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.

        Parameters:
        serviceSpec - The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateFile

        ComponentState.Builder templateFile​(String templateFile)

        The template file used.

        Parameters:
        templateFile - The template file used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.