Class ImmutableCloudBuild.Builder

  • Enclosing class:
    ImmutableCloudBuild

    public static final class ImmutableCloudBuild.Builder
    extends Object
    Builds instances of type ImmutableCloudBuild. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • from

        public final ImmutableCloudBuild.Builder from​(CloudEntity instance)
        Fill a builder with attribute values from the provided com.sap.cloudfoundry.client.facade.domain.CloudEntity instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • from

        public final ImmutableCloudBuild.Builder from​(CloudBuild instance)
        Fill a builder with attribute values from the provided com.sap.cloudfoundry.client.facade.domain.CloudBuild instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • name

        public final ImmutableCloudBuild.Builder name​(String name)
        Initializes the value for the name attribute.
        Parameters:
        name - The value for name (can be null)
        Returns:
        this builder for use in a chained invocation
      • metadata

        public final ImmutableCloudBuild.Builder metadata​(CloudMetadata metadata)
        Initializes the value for the metadata attribute.
        Parameters:
        metadata - The value for metadata (can be null)
        Returns:
        this builder for use in a chained invocation
      • v3Metadata

        public final ImmutableCloudBuild.Builder v3Metadata​(org.cloudfoundry.client.v3.Metadata v3Metadata)
        Initializes the value for the v3Metadata attribute.
        Parameters:
        v3Metadata - The value for v3Metadata (can be null)
        Returns:
        this builder for use in a chained invocation
      • dropletInfo

        public final ImmutableCloudBuild.Builder dropletInfo​(DropletInfo dropletInfo)
        Initializes the value for the dropletInfo attribute.
        Parameters:
        dropletInfo - The value for dropletInfo (can be null)
        Returns:
        this builder for use in a chained invocation
      • error

        public final ImmutableCloudBuild.Builder error​(String error)
        Initializes the value for the error attribute.
        Parameters:
        error - The value for error (can be null)
        Returns:
        this builder for use in a chained invocation