Class EnvironmentName (0.48.0)

public class EnvironmentName implements ResourceName

Inheritance

Object > EnvironmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String agent, String environment)

public static String format(String project, String location, String agent, String environment)
Parameters
NameDescription
projectString
locationString
agentString
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 project, String location, String agent, String environment)

public static EnvironmentName of(String project, String location, String agent, String environment)
Parameters
NameDescription
projectString
locationString
agentString
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

getAgent()

public String getAgent()
Returns
TypeDescription
String

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>

getLocation()

public String getLocation()
Returns
TypeDescription
String

getProject()

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