Class ExternalAccessRuleName.Builder (0.29.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
TypeDescription
ExternalAccessRuleName

getExternalAccessRule()

public String getExternalAccessRule()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getNetworkPolicy()

public String getNetworkPolicy()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

setExternalAccessRule(String externalAccessRule)

public ExternalAccessRuleName.Builder setExternalAccessRule(String externalAccessRule)
Parameter
NameDescription
externalAccessRuleString
Returns
TypeDescription
ExternalAccessRuleName.Builder

setLocation(String location)

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

setNetworkPolicy(String networkPolicy)

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

setProject(String project)

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