Class DomainName (1.5.0)

public class DomainName implements ResourceName

Inheritance

Object > DomainName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String domain)

public static String format(String project, String location, String domain)
Parameters
NameDescription
projectString
locationString
domainString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String project, String location, String domain)

public static DomainName of(String project, String location, String domain)
Parameters
NameDescription
projectString
locationString
domainString
Returns
TypeDescription
DomainName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<DomainName> values)

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

Constructors

DomainName()

protected DomainName()

Methods

equals(Object o)

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

getDomain()

public String getDomain()
Returns
TypeDescription
String

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides