public static class NetworkEndpointGroup.Builder extends Object
Modifier and Type | Method and Description |
---|---|
NetworkEndpointGroup |
build() |
NetworkEndpointGroup.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Integer |
getDefaultPort()
The default port used if the port number is not specified in the network endpoint.
|
String |
getDescription()
An optional description of this resource.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getNetwork()
The URL of the network to which all network endpoints in the NEG belong.
|
String |
getNetworkEndpointType()
Type of network endpoints in this network endpoint group.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Integer |
getSize()
[Output only] Number of network endpoints in the network endpoint group.
|
String |
getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
String |
getZone()
[Output Only] The URL of the zone where the network endpoint group is located.
|
NetworkEndpointGroup.Builder |
mergeFrom(NetworkEndpointGroup other) |
NetworkEndpointGroup.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NetworkEndpointGroup.Builder |
setDefaultPort(Integer defaultPort)
The default port used if the port number is not specified in the network endpoint.
|
NetworkEndpointGroup.Builder |
setDescription(String description)
An optional description of this resource.
|
NetworkEndpointGroup.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
NetworkEndpointGroup.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
NetworkEndpointGroup.Builder |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
NetworkEndpointGroup.Builder |
setNetwork(String network)
The URL of the network to which all network endpoints in the NEG belong.
|
NetworkEndpointGroup.Builder |
setNetworkEndpointType(String networkEndpointType)
Type of network endpoints in this network endpoint group.
|
NetworkEndpointGroup.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
NetworkEndpointGroup.Builder |
setSize(Integer size)
[Output only] Number of network endpoints in the network endpoint group.
|
NetworkEndpointGroup.Builder |
setSubnetwork(String subnetwork)
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
|
NetworkEndpointGroup.Builder |
setZone(String zone)
[Output Only] The URL of the zone where the network endpoint group is located.
|
public NetworkEndpointGroup.Builder mergeFrom(NetworkEndpointGroup other)
public String getCreationTimestamp()
public NetworkEndpointGroup.Builder setCreationTimestamp(String creationTimestamp)
public Integer getDefaultPort()
public NetworkEndpointGroup.Builder setDefaultPort(Integer defaultPort)
public String getDescription()
public NetworkEndpointGroup.Builder setDescription(String description)
public String getId()
public NetworkEndpointGroup.Builder setId(String id)
public String getKind()
public NetworkEndpointGroup.Builder setKind(String kind)
public String getName()
public NetworkEndpointGroup.Builder setName(String name)
public String getNetwork()
public NetworkEndpointGroup.Builder setNetwork(String network)
public String getNetworkEndpointType()
public NetworkEndpointGroup.Builder setNetworkEndpointType(String networkEndpointType)
public String getSelfLink()
public NetworkEndpointGroup.Builder setSelfLink(String selfLink)
public Integer getSize()
public NetworkEndpointGroup.Builder setSize(Integer size)
public String getSubnetwork()
public NetworkEndpointGroup.Builder setSubnetwork(String subnetwork)
public String getZone()
public NetworkEndpointGroup.Builder setZone(String zone)
public NetworkEndpointGroup build()
public NetworkEndpointGroup.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.