Class EnvironmentName (2.30.0)

public class EnvironmentName implements ResourceName

Inheritance

Object > EnvironmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String user, String environment)

public static String format(String user, String environment)
Parameters
NameDescription
userString
environmentString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

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

newBuilder()

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

of(String user, String environment)

public static EnvironmentName of(String user, String environment)
Parameters
NameDescription
userString
environmentString
Returns
TypeDescription
EnvironmentName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<EnvironmentName> values)

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

Constructors

EnvironmentName() (deprecated)

protected EnvironmentName()

Methods

equals(Object o)

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

getEnvironment()

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

getUser()

public String getUser()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides