Class TargetSiteName (0.48.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
Name Description
project String
location String
dataStore String
targetSite String
Returns
Type Description
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
Name Description
project String
location String
collection String
dataStore String
targetSite String
Returns
Type Description
String

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

public static String formatProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
Parameters
Name Description
project String
location String
dataStore String
targetSite String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static TargetSiteName.Builder newBuilder()
Returns
Type Description
TargetSiteName.Builder

newProjectLocationCollectionDataStoreTargetSiteBuilder()

public static TargetSiteName.ProjectLocationCollectionDataStoreTargetSiteBuilder newProjectLocationCollectionDataStoreTargetSiteBuilder()
Returns
Type Description
TargetSiteName.ProjectLocationCollectionDataStoreTargetSiteBuilder

newProjectLocationDataStoreTargetSiteBuilder()

public static TargetSiteName.Builder newProjectLocationDataStoreTargetSiteBuilder()
Returns
Type Description
TargetSiteName.Builder

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

public static TargetSiteName of(String project, String location, String dataStore, String targetSite)
Parameters
Name Description
project String
location String
dataStore String
targetSite String
Returns
Type Description
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
Name Description
project String
location String
collection String
dataStore String
targetSite String
Returns
Type Description
TargetSiteName

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

public static TargetSiteName ofProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
Parameters
Name Description
project String
location String
dataStore String
targetSite String
Returns
Type Description
TargetSiteName

parse(String formattedString)

public static TargetSiteName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
TargetSiteName

parseList(List<String> formattedStrings)

public static List<TargetSiteName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<TargetSiteName>

toStringList(List<TargetSiteName> values)

public static List<String> toStringList(List<TargetSiteName> values)
Parameter
Name Description
values List<TargetSiteName>
Returns
Type Description
List<String>

Constructors

TargetSiteName() (deprecated)

protected TargetSiteName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getCollection()

public String getCollection()
Returns
Type Description
String

getDataStore()

public String getDataStore()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getTargetSite()

public String getTargetSite()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public TargetSiteName.Builder toBuilder()
Returns
Type Description
TargetSiteName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides