public static class Address.Builder extends AddressInfo.Builder
Address
objects.Modifier and Type | Method and Description |
---|---|
Address |
build()
Creates an
AddressInfo object. |
Address.Builder |
setAddress(String address)
Sets the actual IP address.
|
Address.Builder |
setAddressId(AddressId addressId) |
Address.Builder |
setDescription(String description)
Sets an optional textual description of the address.
|
public Address.Builder setAddress(String address)
AddressInfo.Builder
setAddress
in class AddressInfo.Builder
public Address.Builder setDescription(String description)
AddressInfo.Builder
setDescription
in class AddressInfo.Builder
public Address.Builder setAddressId(AddressId addressId)
setAddressId
in class AddressInfo.Builder
public Address build()
AddressInfo.Builder
AddressInfo
object.build
in class AddressInfo.Builder
Copyright © 2019 Google LLC. All rights reserved.