Class ReplicationName (0.10.0)

public class ReplicationName implements ResourceName

Inheritance

Object > ReplicationName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

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

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

isParsableFrom(String formattedString)

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

newBuilder()

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

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

public static ReplicationName of(String project, String location, String volume, String replication)
Parameters
NameDescription
projectString
locationString
volumeString
replicationString
Returns
TypeDescription
ReplicationName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<ReplicationName> values)

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

Constructors

ReplicationName() (deprecated)

protected ReplicationName()

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

getReplication()

public String getReplication()
Returns
TypeDescription
String

getVolume()

public String getVolume()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides