public static class TargetInstance.Builder extends Object
Modifier and Type | Method and Description |
---|---|
TargetInstance |
build() |
TargetInstance.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getInstance()
A URL to the virtual machine instance that handles traffic for this target instance.
|
String |
getKind()
[Output Only] The type of the resource.
|
String |
getName()
Name of the resource.
|
String |
getNatPolicy()
NAT option controlling how IPs are NAT'ed to the instance.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getZone()
[Output Only] URL of the zone where the target instance resides.
|
TargetInstance.Builder |
mergeFrom(TargetInstance other) |
TargetInstance.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetInstance.Builder |
setDescription(String description)
An optional description of this resource.
|
TargetInstance.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
TargetInstance.Builder |
setInstance(String instance)
A URL to the virtual machine instance that handles traffic for this target instance.
|
TargetInstance.Builder |
setKind(String kind)
[Output Only] The type of the resource.
|
TargetInstance.Builder |
setName(String name)
Name of the resource.
|
TargetInstance.Builder |
setNatPolicy(String natPolicy)
NAT option controlling how IPs are NAT'ed to the instance.
|
TargetInstance.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
TargetInstance.Builder |
setZone(String zone)
[Output Only] URL of the zone where the target instance resides.
|
public TargetInstance.Builder mergeFrom(TargetInstance other)
public String getCreationTimestamp()
public TargetInstance.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public TargetInstance.Builder setDescription(String description)
public String getId()
public TargetInstance.Builder setId(String id)
public String getInstance()
public TargetInstance.Builder setInstance(String instance)
public String getKind()
public TargetInstance.Builder setKind(String kind)
public String getName()
public TargetInstance.Builder setName(String name)
public String getNatPolicy()
public TargetInstance.Builder setNatPolicy(String natPolicy)
public String getSelfLink()
public TargetInstance.Builder setSelfLink(String selfLink)
public String getZone()
public TargetInstance.Builder setZone(String zone)
public TargetInstance build()
public TargetInstance.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.