Class ImmutableCloudSpace.Builder

  • Enclosing class:
    ImmutableCloudSpace

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

        public final ImmutableCloudSpace.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
      • name

        public final ImmutableCloudSpace.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 ImmutableCloudSpace.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 ImmutableCloudSpace.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
      • organization

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