Class NetworkPolicyName.Builder (0.47.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
Type Description
NetworkPolicyName

getLocation()

public String getLocation()
Returns
Type Description
String

getNetworkPolicy()

public String getNetworkPolicy()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setLocation(String location)

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

setNetworkPolicy(String networkPolicy)

public NetworkPolicyName.Builder setNetworkPolicy(String networkPolicy)
Parameter
Name Description
networkPolicy String
Returns
Type Description
NetworkPolicyName.Builder

setProject(String project)

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