Class DeploymentName (0.65.0)

See more code actions.
public class DeploymentName implements ResourceName
Object > DeploymentName
com.google.api.resourcenames.ResourceName

Static Methods

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

public static String format(String project, String location, String agent, String environment, String deployment)
Parameters
Name Description
project String
location String
agent String
environment String
deployment String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static DeploymentName.Builder newBuilder()
Returns
Type Description
DeploymentName.Builder

of(String project, String location, String agent, String environment, String deployment)

public static DeploymentName of(String project, String location, String agent, String environment, String deployment)
Parameters
Name Description
project String
location String
agent String
environment String
deployment String
Returns
Type Description
DeploymentName

parse(String formattedString)

public static DeploymentName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
DeploymentName

parseList(List<String> formattedStrings)

public static List<DeploymentName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<DeploymentName>

toStringList(List<DeploymentName> values)

public static List<String> toStringList(List<DeploymentName> values)
Parameter
Name Description
values List<DeploymentName>
Returns
Type Description
List<String>

Constructors

DeploymentName() (deprecated)

protected DeploymentName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAgent()

public String getAgent()
Returns
Type Description
String

getDeployment()

public String getDeployment()
Returns
Type Description
String

getEnvironment()

public String getEnvironment()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public DeploymentName.Builder toBuilder()
Returns
Type Description
DeploymentName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides