Class GetAuthScopePlainArgs.Builder
- java.lang.Object
-
- com.pulumi.openstack.identity.inputs.GetAuthScopePlainArgs.Builder
-
- Enclosing class:
- GetAuthScopePlainArgs
public static final class GetAuthScopePlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetAuthScopePlainArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAuthScopePlainArgsbuild()GetAuthScopePlainArgs.Buildername(java.lang.String name)GetAuthScopePlainArgs.Builderregion(java.lang.String region)GetAuthScopePlainArgs.BuildersetTokenId(java.lang.Boolean setTokenId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetAuthScopePlainArgs defaults)
-
-
Method Detail
-
name
public GetAuthScopePlainArgs.Builder name(java.lang.String name)
- Parameters:
name- The name of the scope. This is an arbitrary name which is only used as a unique identifier so an actual token isn't used as the ID.- Returns:
- builder
-
region
public GetAuthScopePlainArgs.Builder region(@Nullable java.lang.String region)
- Parameters:
region- The region in which to obtain the V3 Identity client. A Identity client is needed to retrieve tokens IDs. If omitted, the `region` argument of the provider is used.- Returns:
- builder
-
setTokenId
public GetAuthScopePlainArgs.Builder setTokenId(@Nullable java.lang.Boolean setTokenId)
- Parameters:
setTokenId- A boolean argument that determines whether to export the current auth scope token ID. When set to `true`, the `token_id` attribute will contain an unencrypted token that can be used for further API calls. **Warning**: please note that the leaked token may allow unauthorized access to other OpenStack services within the current auth scope, so use this option with caution.- Returns:
- builder
-
build
public GetAuthScopePlainArgs build()
-
-