Class ImmutableCloudServiceBroker.Builder

  • Enclosing class:
    ImmutableCloudServiceBroker

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

        public final ImmutableCloudServiceBroker.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 ImmutableCloudServiceBroker.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 ImmutableCloudServiceBroker.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
      • username

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

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

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

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