Class VolumeSnapshotName (0.36.0)

public class VolumeSnapshotName implements ResourceName

Inheritance

Object > VolumeSnapshotName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String volume, String snapshot)

public static String format(String project, String location, String volume, String snapshot)
Parameters
NameDescription
projectString
locationString
volumeString
snapshotString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static VolumeSnapshotName.Builder newBuilder()
Returns
TypeDescription
VolumeSnapshotName.Builder

of(String project, String location, String volume, String snapshot)

public static VolumeSnapshotName of(String project, String location, String volume, String snapshot)
Parameters
NameDescription
projectString
locationString
volumeString
snapshotString
Returns
TypeDescription
VolumeSnapshotName

parse(String formattedString)

public static VolumeSnapshotName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
VolumeSnapshotName

parseList(List<String> formattedStrings)

public static List<VolumeSnapshotName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<VolumeSnapshotName>

toStringList(List<VolumeSnapshotName> values)

public static List<String> toStringList(List<VolumeSnapshotName> values)
Parameter
NameDescription
valuesList<VolumeSnapshotName>
Returns
TypeDescription
List<String>

Constructors

VolumeSnapshotName() (deprecated)

protected VolumeSnapshotName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

getSnapshot()

public String getSnapshot()
Returns
TypeDescription
String

getVolume()

public String getVolume()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public VolumeSnapshotName.Builder toBuilder()
Returns
TypeDescription
VolumeSnapshotName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides