Class NetworkPolicyName.Builder (0.28.0)

public static class NetworkPolicyName.Builder

Builder for projects/{project}/locations/{location}/networkPolicies/{network_policy}.

Inheritance

java.lang.Object > NetworkPolicyName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public NetworkPolicyName build()
Returns
TypeDescription
NetworkPolicyName

getLocation()

public String getLocation()
Returns
TypeDescription
String

getNetworkPolicy()

public String getNetworkPolicy()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setLocation(String location)

public NetworkPolicyName.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
NetworkPolicyName.Builder

setNetworkPolicy(String networkPolicy)

public NetworkPolicyName.Builder setNetworkPolicy(String networkPolicy)
Parameter
NameDescription
networkPolicyString
Returns
TypeDescription
NetworkPolicyName.Builder

setProject(String project)

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