public static final class TcpRouteDeletion.Builder extends Object
TcpRouteDeletion.
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 |
|---|---|
TcpRouteDeletion.Builder |
backendIp(String backendIp)
Initializes the value for the
backendIp attribute. |
TcpRouteDeletion.Builder |
backendPort(Integer backendPort)
Initializes the value for the
backendPort attribute. |
TcpRouteDeletion |
build()
Builds a new
TcpRouteDeletion. |
TcpRouteDeletion.Builder |
from(TcpRouteDeletion instance)
Fill a builder with attribute values from the provided
TcpRouteDeletion instance. |
TcpRouteDeletion.Builder |
port(Integer port)
Initializes the value for the
port attribute. |
TcpRouteDeletion.Builder |
routerGroupId(String routerGroupId)
Initializes the value for the
routerGroupId attribute. |
public final TcpRouteDeletion.Builder from(TcpRouteDeletion instance)
TcpRouteDeletion instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final TcpRouteDeletion.Builder backendIp(String backendIp)
backendIp attribute.backendIp - The value for backendIpthis builder for use in a chained invocationpublic final TcpRouteDeletion.Builder backendPort(Integer backendPort)
backendPort attribute.backendPort - The value for backendPortthis builder for use in a chained invocationpublic final TcpRouteDeletion.Builder port(Integer port)
port attribute.port - The value for portthis builder for use in a chained invocationpublic final TcpRouteDeletion.Builder routerGroupId(String routerGroupId)
routerGroupId attribute.routerGroupId - The value for routerGroupIdthis builder for use in a chained invocationpublic TcpRouteDeletion build()
TcpRouteDeletion.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.