Class TargetSiteName (0.35.0)

public class TargetSiteName implements ResourceName

Inheritance

Object > TargetSiteName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String dataStore, String targetSite)

public static String format(String project, String location, String dataStore, String targetSite)
Parameters
NameDescription
projectString
locationString
dataStoreString
targetSiteString
Returns
TypeDescription
String

formatProjectLocationCollectionDataStoreTargetSiteName(String project, String location, String collection, String dataStore, String targetSite)

public static String formatProjectLocationCollectionDataStoreTargetSiteName(String project, String location, String collection, String dataStore, String targetSite)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
targetSiteString
Returns
TypeDescription
String

formatProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)

public static String formatProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
Parameters
NameDescription
projectString
locationString
dataStoreString
targetSiteString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

newProjectLocationCollectionDataStoreTargetSiteBuilder()

public static TargetSiteName.ProjectLocationCollectionDataStoreTargetSiteBuilder newProjectLocationCollectionDataStoreTargetSiteBuilder()
Returns
TypeDescription
TargetSiteName.ProjectLocationCollectionDataStoreTargetSiteBuilder

newProjectLocationDataStoreTargetSiteBuilder()

public static TargetSiteName.Builder newProjectLocationDataStoreTargetSiteBuilder()
Returns
TypeDescription
TargetSiteName.Builder

of(String project, String location, String dataStore, String targetSite)

public static TargetSiteName of(String project, String location, String dataStore, String targetSite)
Parameters
NameDescription
projectString
locationString
dataStoreString
targetSiteString
Returns
TypeDescription
TargetSiteName

ofProjectLocationCollectionDataStoreTargetSiteName(String project, String location, String collection, String dataStore, String targetSite)

public static TargetSiteName ofProjectLocationCollectionDataStoreTargetSiteName(String project, String location, String collection, String dataStore, String targetSite)
Parameters
NameDescription
projectString
locationString
collectionString
dataStoreString
targetSiteString
Returns
TypeDescription
TargetSiteName

ofProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)

public static TargetSiteName ofProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
Parameters
NameDescription
projectString
locationString
dataStoreString
targetSiteString
Returns
TypeDescription
TargetSiteName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<TargetSiteName> values)

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

Constructors

TargetSiteName() (deprecated)

protected TargetSiteName()

Methods

equals(Object o)

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

getCollection()

public String getCollection()
Returns
TypeDescription
String

getDataStore()

public String getDataStore()
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

getTargetSite()

public String getTargetSite()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides