public class IpAddress extends Object
| Constructor and Description |
|---|
IpAddress()
Creates an instance of IpAddress class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ip()
Get the ip value.
|
List<Port> |
ports()
Get the ports value.
|
String |
type()
Get the type value.
|
IpAddress |
withIp(String ip)
Set the ip value.
|
IpAddress |
withPorts(List<Port> ports)
Set the ports value.
|
IpAddress |
withType(String type)
Set the type value.
|
public IpAddress withPorts(List<Port> ports)
ports - the ports value to setpublic String type()
public IpAddress withType(String type)
type - the type value to setpublic String ip()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/