Class PolicyName.Builder (2.34.0)

public static class PolicyName.Builder

Builder for projects/{project}/policies/{policy}.

Inheritance

java.lang.Object > PolicyName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public PolicyName build()
Returns
TypeDescription
PolicyName

getPolicy()

public String getPolicy()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setPolicy(String policy)

public PolicyName.Builder setPolicy(String policy)
Parameter
NameDescription
policyString
Returns
TypeDescription
PolicyName.Builder

setProject(String project)

public PolicyName.Builder setProject(String project)
Parameter
NameDescription
projectString
Returns
TypeDescription
PolicyName.Builder