Class AuthorizationPolicyName.Builder (0.26.0)

publicstaticclass AuthorizationPolicyName.Builder

Builder for projects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}.

Inheritance

java.lang.Object > AuthorizationPolicyName.Builder

Constructors

Builder()

protectedBuilder()

Methods

build()

publicAuthorizationPolicyNamebuild()
Returns
Type Description
AuthorizationPolicyName

getAuthorizationPolicy()

publicStringgetAuthorizationPolicy()
Returns
Type Description
String

getLocation()

publicStringgetLocation()
Returns
Type Description
String

getProject()

publicStringgetProject()
Returns
Type Description
String

setAuthorizationPolicy(String authorizationPolicy)

publicAuthorizationPolicyName.BuildersetAuthorizationPolicy(StringauthorizationPolicy)
Parameter
Name Description
authorizationPolicy String
Returns
Type Description
AuthorizationPolicyName.Builder

setLocation(String location)

publicAuthorizationPolicyName.BuildersetLocation(Stringlocation)
Parameter
Name Description
location String
Returns
Type Description
AuthorizationPolicyName.Builder

setProject(String project)

publicAuthorizationPolicyName.BuildersetProject(Stringproject)
Parameter
Name Description
project String
Returns
Type Description
AuthorizationPolicyName.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.