public static final class UpdateRouterGroupResponse.Builder extends Object
UpdateRouterGroupResponse.
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.
| Modifier and Type | Method and Description |
|---|---|
UpdateRouterGroupResponse |
build()
Builds a new
UpdateRouterGroupResponse. |
UpdateRouterGroupResponse.Builder |
from(org.cloudfoundry.routing.v1.routergroups._UpdateRouterGroupResponse instance)
Copy abstract value type
_UpdateRouterGroupResponse instance into builder. |
UpdateRouterGroupResponse.Builder |
from(org.cloudfoundry.routing.v1.routergroups.AbstractRouterGroup instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.routing.v1.routergroups.AbstractRouterGroup instance. |
UpdateRouterGroupResponse.Builder |
from(UpdateRouterGroupResponse instance)
Fill a builder with attribute values from the provided
UpdateRouterGroupResponse instance. |
UpdateRouterGroupResponse.Builder |
name(String name)
Initializes the value for the
name attribute. |
UpdateRouterGroupResponse.Builder |
reservablePorts(String reservablePorts)
Initializes the value for the
reservablePorts attribute. |
UpdateRouterGroupResponse.Builder |
routerGroupId(String routerGroupId)
Initializes the value for the
routerGroupId attribute. |
UpdateRouterGroupResponse.Builder |
type(String type)
Initializes the value for the
type attribute. |
public final UpdateRouterGroupResponse.Builder from(org.cloudfoundry.routing.v1.routergroups.AbstractRouterGroup instance)
org.cloudfoundry.routing.v1.routergroups.AbstractRouterGroup instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateRouterGroupResponse.Builder from(UpdateRouterGroupResponse instance)
UpdateRouterGroupResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateRouterGroupResponse.Builder from(org.cloudfoundry.routing.v1.routergroups._UpdateRouterGroupResponse instance)
_UpdateRouterGroupResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final UpdateRouterGroupResponse.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final UpdateRouterGroupResponse.Builder reservablePorts(String reservablePorts)
reservablePorts attribute.reservablePorts - The value for reservablePortsthis builder for use in a chained invocationpublic final UpdateRouterGroupResponse.Builder routerGroupId(String routerGroupId)
routerGroupId attribute.routerGroupId - The value for routerGroupIdthis builder for use in a chained invocationpublic final UpdateRouterGroupResponse.Builder type(String type)
type attribute.type - The value for typethis builder for use in a chained invocationpublic UpdateRouterGroupResponse build()
UpdateRouterGroupResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.