Class ImmutableCloudInfo.Builder

  • Enclosing class:
    ImmutableCloudInfo

    public static final class ImmutableCloudInfo.Builder
    extends Object
    Builds instances of type ImmutableCloudInfo. 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 ImmutableCloudInfo.Builder from​(CloudInfo instance)
        Fill a builder with attribute values from the provided CloudInfo instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • authorizationEndpoint

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

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

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

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

        public final ImmutableCloudInfo.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
      • user

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

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

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