Class PolicyName.LocationBuilder (1.15.0)

publicstaticclass PolicyName.LocationBuilder

Builder for locations/{location}/policy.

Inheritance

java.lang.Object > PolicyName.LocationBuilder

Constructors

LocationBuilder()

protectedLocationBuilder()

Methods

build()

publicPolicyNamebuild()
Returns
Type Description
PolicyName

getLocation()

publicStringgetLocation()
Returns
Type Description
String

setLocation(String location)

publicPolicyName.LocationBuildersetLocation(Stringlocation)
Parameter
Name Description
location String
Returns
Type Description
PolicyName.LocationBuilder

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年11月19日 UTC.