public static final class UpdateServiceInstanceRequest.Builder extends Object
UpdateServiceInstanceRequest.
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 UpdateServiceInstanceRequest.Builder from(UpdateServiceInstanceRequest instance)
UpdateServiceInstanceRequest 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 UpdateServiceInstanceRequest.Builder parameter(String key, Object value)
parameters map.key - The key in the parameters mapvalue - The associated value in the parameters mapthis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder parameter(Map.Entry<String,? extends Object> entry)
parameters map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder parameters(Map<String,? extends Object> entries)
parameters map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the parameters mapthis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder putAllParameters(Map<String,? extends Object> entries)
parameters map. Nulls are not permittedentries - The entries that will be added to the parameters mapthis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder planName(String planName)
planName attribute.planName - The value for planName (can be null)this builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder serviceInstanceName(String serviceInstanceName)
serviceInstanceName attribute.serviceInstanceName - The value for serviceInstanceNamethis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder tag(String element)
tags list.element - A tags elementthis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder tags(String... elements)
tags list.elements - An array of tags elementsthis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder tags(Iterable<String> elements)
tags list.elements - An iterable of tags elementsthis builder for use in a chained invocationpublic final UpdateServiceInstanceRequest.Builder addAllTags(Iterable<String> elements)
tags list.elements - An iterable of tags elementsthis builder for use in a chained invocationpublic UpdateServiceInstanceRequest build()
UpdateServiceInstanceRequest.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.