public class EnvironmentName implements ResourceName
Inheritance
Object >
EnvironmentName
Implements
com.google.api.resourcenames.ResourceName
Static Methods
public static String format(String project, String environment)
Parameters
Returns
public static String formatProjectEnvironmentName(String project, String environment)
Parameters
Returns
public static String formatProjectLocationEnvironmentName(String project, String location, String environment)
Parameters
Returns
isParsableFrom(String formattedString)
public static boolean isParsableFrom(String formattedString)
Parameter
Name |
Description |
formattedString |
String
|
Returns
newBuilder()
public static EnvironmentName.Builder newBuilder()
Returns
newProjectEnvironmentBuilder()
public static EnvironmentName.Builder newProjectEnvironmentBuilder()
Returns
newProjectLocationEnvironmentBuilder()
public static EnvironmentName.ProjectLocationEnvironmentBuilder newProjectLocationEnvironmentBuilder()
Returns
of(String project, String environment)
public static EnvironmentName of(String project, String environment)
Parameters
Returns
ofProjectEnvironmentName(String project, String environment)
public static EnvironmentName ofProjectEnvironmentName(String project, String environment)
Parameters
Returns
ofProjectLocationEnvironmentName(String project, String location, String environment)
public static EnvironmentName ofProjectLocationEnvironmentName(String project, String location, String environment)
Parameters
Returns
parse(String formattedString)
public static EnvironmentName parse(String formattedString)
Parameter
Name |
Description |
formattedString |
String
|
Returns
parseList(List<String> formattedStrings)
public static List<EnvironmentName> parseList(List<String> formattedStrings)
Parameter
Returns
toStringList(List<EnvironmentName> values)
public static List<String> toStringList(List<EnvironmentName> values)
Parameter
Returns
Constructors
EnvironmentName()
protected EnvironmentName()
Methods
equals(Object o)
public boolean equals(Object o)
Parameter
Returns
Overrides
getEnvironment()
public String getEnvironment()
Returns
getFieldValue(String fieldName)
public String getFieldValue(String fieldName)
Parameter
Name |
Description |
fieldName |
String
|
Returns
getFieldValuesMap()
public Map<String,String> getFieldValuesMap()
Returns
getLocation()
public String getLocation()
Returns
getProject()
public String getProject()
Returns
hashCode()
Returns
Overrides
toBuilder()
public EnvironmentName.Builder toBuilder()
Returns
toString()
Returns
Overrides