Class BranchRuleName.Builder (0.25.0)

public static class BranchRuleName.Builder

Builder for projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}.

Inheritance

java.lang.Object > BranchRuleName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public BranchRuleName build()
Returns
Type Description
BranchRuleName

getBranchRule()

public String getBranchRule()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getRepository()

public String getRepository()
Returns
Type Description
String

setBranchRule(String branchRule)

public BranchRuleName.Builder setBranchRule(String branchRule)
Parameter
Name Description
branchRule String
Returns
Type Description
BranchRuleName.Builder

setLocation(String location)

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

setProject(String project)

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

setRepository(String repository)

public BranchRuleName.Builder setRepository(String repository)
Parameter
Name Description
repository String
Returns
Type Description
BranchRuleName.Builder