Class ExternalAccessRuleName.Builder (0.40.0)

public static class ExternalAccessRuleName.Builder

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

Inheritance

java.lang.Object > ExternalAccessRuleName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ExternalAccessRuleName build()
Returns
Type Description
ExternalAccessRuleName

getExternalAccessRule()

public String getExternalAccessRule()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getNetworkPolicy()

public String getNetworkPolicy()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

setExternalAccessRule(String externalAccessRule)

public ExternalAccessRuleName.Builder setExternalAccessRule(String externalAccessRule)
Parameter
Name Description
externalAccessRule String
Returns
Type Description
ExternalAccessRuleName.Builder

setLocation(String location)

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

setNetworkPolicy(String networkPolicy)

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

setProject(String project)

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