public class ServicePorts extends Descriptor
A typical JSON representation might be:
{
"http" : { }
}
| Constructor and Description |
|---|
ServicePorts(Map<String,ServicePortParameters> ports) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,ServicePortParameters> |
getPorts() |
int |
hashCode() |
static ServicePorts |
of(String... ports) |
String |
toString() |
parse, parse, toJsonBytes, toJsonStringpublic ServicePorts(Map<String,ServicePortParameters> ports)
public Map<String,ServicePortParameters> getPorts()
public static ServicePorts of(String... ports)
Copyright © 2019. All rights reserved.