Class DeploymentName.Builder (0.20.0)

public static class DeploymentName.Builder

Builder for projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/deployments/{deployment}.

Inheritance

java.lang.Object > DeploymentName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public DeploymentName build()
Returns
Type Description
DeploymentName

getAgent()

public String getAgent()
Returns
Type Description
String

getDeployment()

public String getDeployment()
Returns
Type Description
String

getEnvironment()

public String getEnvironment()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setAgent(String agent)

public DeploymentName.Builder setAgent(String agent)
Parameter
Name Description
agent String
Returns
Type Description
DeploymentName.Builder

setDeployment(String deployment)

public DeploymentName.Builder setDeployment(String deployment)
Parameter
Name Description
deployment String
Returns
Type Description
DeploymentName.Builder

setEnvironment(String environment)

public DeploymentName.Builder setEnvironment(String environment)
Parameter
Name Description
environment String
Returns
Type Description
DeploymentName.Builder

setLocation(String location)

public DeploymentName.Builder setLocation(String location)
Parameter
Name Description
location String
Returns
Type Description
DeploymentName.Builder

setProject(String project)

public DeploymentName.Builder setProject(String project)
Parameter
Name Description
project String
Returns
Type Description
DeploymentName.Builder