Class EnvironmentName (4.7.0)

public class EnvironmentName implements ResourceName

Inheritance

Object > EnvironmentName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String environment)

public static String format(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
String

formatProjectEnvironmentName(String project, String environment)

public static String formatProjectEnvironmentName(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
String

formatProjectLocationEnvironmentName(String project, String location, String environment)

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

newProjectEnvironmentBuilder()

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

newProjectLocationEnvironmentBuilder()

public static EnvironmentName.ProjectLocationEnvironmentBuilder newProjectLocationEnvironmentBuilder()
Returns
TypeDescription
EnvironmentName.ProjectLocationEnvironmentBuilder

of(String project, String environment)

public static EnvironmentName of(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
EnvironmentName

ofProjectEnvironmentName(String project, String environment)

public static EnvironmentName ofProjectEnvironmentName(String project, String environment)
Parameters
NameDescription
projectString
environmentString
Returns
TypeDescription
EnvironmentName

ofProjectLocationEnvironmentName(String project, String location, String environment)

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

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>

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