public static final class CreateUserProvidedServiceInstanceRequest.Builder extends Object
CreateUserProvidedServiceInstanceRequest.
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.
public final CreateUserProvidedServiceInstanceRequest.Builder from(CreateUserProvidedServiceInstanceRequest instance)
CreateUserProvidedServiceInstanceRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder credential(String key, Object value)
credentials map.key - The key in the credentials mapvalue - The associated value in the credentials mapthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder credential(Map.Entry<String,? extends Object> entry)
credentials map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder credentials(Map<String,? extends Object> entries)
credentials map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the credentials mapthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder putAllCredentials(Map<String,? extends Object> entries)
credentials map. Nulls are not permittedentries - The entries that will be added to the credentials mapthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder routeServiceUrl(String routeServiceUrl)
routeServiceUrl attribute.routeServiceUrl - The value for routeServiceUrl (can be null)this builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder spaceId(String spaceId)
spaceId attribute.spaceId - The value for spaceIdthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder syslogDrainUrl(String syslogDrainUrl)
syslogDrainUrl attribute.syslogDrainUrl - The value for syslogDrainUrl (can be null)this builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder tag(String element)
tags list.element - A tags elementthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder tags(String... elements)
tags list.elements - An array of tags elementsthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder tags(Iterable<String> elements)
tags list.elements - An iterable of tags elementsthis builder for use in a chained invocationpublic final CreateUserProvidedServiceInstanceRequest.Builder addAllTags(Iterable<String> elements)
tags list.elements - An iterable of tags elementsthis builder for use in a chained invocationpublic CreateUserProvidedServiceInstanceRequest build()
CreateUserProvidedServiceInstanceRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.