Class ImmutableCloudServicePlan.Builder

  • Enclosing class:
    ImmutableCloudServicePlan

    public static final class ImmutableCloudServicePlan.Builder
    extends Object
    Builds instances of type ImmutableCloudServicePlan. 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 ImmutableCloudServicePlan.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 ImmutableCloudServicePlan.Builder from​(CloudServicePlan instance)
        Fill a builder with attribute values from the provided com.sap.cloudfoundry.client.facade.domain.CloudServicePlan instance.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • name

        public final ImmutableCloudServicePlan.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
      • v3Metadata

        public final ImmutableCloudServicePlan.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
      • description

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

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

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

        public final ImmutableCloudServicePlan.Builder isFree​(Boolean isFree)
        Initializes the value for the isFree attribute.
        Parameters:
        isFree - The value for isFree (can be null)
        Returns:
        this builder for use in a chained invocation
      • isPublic

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