Package com.google.cloud.osconfig.v1
Class InstanceName
java.lang.Object
com.google.cloud.osconfig.v1.InstanceName
- All Implemented Interfaces:
ResourceName
@Generated("by gapic-generator-java")
public class InstanceName
extends Object
implements ResourceName
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for projects/{project}/zones/{zone}/instances/{instance}.static classBuilder for projects/{project}/locations/{location}/instances/{instance}. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Stringstatic StringformatProjectLocationInstanceName(String project, String location, String instance) static StringformatProjectZoneInstanceName(String project, String zone, String instance) getFieldValue(String fieldName) getZone()inthashCode()static booleanisParsableFrom(String formattedString) static InstanceName.Builderstatic InstanceName.Builderstatic InstanceNamestatic InstanceNameofProjectLocationInstanceName(String project, String location, String instance) static InstanceNameofProjectZoneInstanceName(String project, String zone, String instance) static InstanceNamestatic List<InstanceName>toString()toStringList(List<InstanceName> values)
-
Constructor Details
-
InstanceName
Deprecated.
-
-
Method Details
-
getProject
-
getZone
-
getInstance
-
getLocation
-
newBuilder
-
newProjectZoneInstanceBuilder
-
newProjectLocationInstanceBuilder
-
toBuilder
-
of
-
ofProjectZoneInstanceName
-
ofProjectLocationInstanceName
public static InstanceName ofProjectLocationInstanceName(String project, String location, String instance) -
format
-
formatProjectZoneInstanceName
-
formatProjectLocationInstanceName
-
parse
-
parseList
-
toStringList
-
isParsableFrom
-
getFieldValuesMap
- Specified by:
getFieldValuesMapin interfaceResourceName
-
getFieldValue
- Specified by:
getFieldValuein interfaceResourceName
-
toString
-
equals
-
hashCode
public int hashCode()
-