public class TargetSiteName implements ResourceName
Inheritance
Object >
TargetSiteName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String location, String dataStore, String targetSite)
public static String formatProjectLocationCollectionDataStoreTargetSiteName(String project, String location, String collection, String dataStore, String targetSite)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
public static String formatProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
Beta
The static format methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter Name Description formattedString
String
newBuilder()
public static TargetSiteName.Builder newBuilder()
newProjectLocationCollectionDataStoreTargetSiteBuilder()
public static TargetSiteName.ProjectLocationCollectionDataStoreTargetSiteBuilder newProjectLocationCollectionDataStoreTargetSiteBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
newProjectLocationDataStoreTargetSiteBuilder()
public static TargetSiteName.Builder newProjectLocationDataStoreTargetSiteBuilder()
Beta
The per-pattern Builders are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
of(String project, String location, String dataStore, String targetSite)
public static TargetSiteName of(String project, String location, String dataStore, String targetSite)
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)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
ofProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
public static TargetSiteName ofProjectLocationDataStoreTargetSiteName(String project, String location, String dataStore, String targetSite)
Beta
The static create methods are not stable yet and may be changed in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
parse(String formattedString)
public static TargetSiteName parse(String formattedString)
Parameter Name Description formattedString
String
parseList(List<String> formattedStrings)
public static List<TargetSiteName> parseList(List<String> formattedStrings)
Parameter Name Description formattedStrings
List <String >
toStringList(List<TargetSiteName> values)
public static List<String> toStringList(List<TargetSiteName> values)
Constructors
TargetSiteName() (deprecated)
protected TargetSiteName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter Name Description o
Object
Overrides
getCollection()
public String getCollection()
getDataStore()
public String getDataStore()
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter Name Description fieldName
String
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
getLocation()
public String getLocation()
getProject()
public String getProject()
getTargetSite()
public String getTargetSite()
hashCode()
Returns Type Description int
Overrides
toBuilder()
public TargetSiteName.Builder toBuilder()
toString()
Overrides