Class GetAuthScopeArgs.Builder
- java.lang.Object
-
- com.pulumi.openstack.identity.inputs.GetAuthScopeArgs.Builder
-
- Enclosing class:
- GetAuthScopeArgs
public static final class GetAuthScopeArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetAuthScopeArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAuthScopeArgsbuild()GetAuthScopeArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)GetAuthScopeArgs.Buildername(java.lang.String name)GetAuthScopeArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GetAuthScopeArgs.Builderregion(java.lang.String region)GetAuthScopeArgs.BuildersetTokenId(com.pulumi.core.Output<java.lang.Boolean> setTokenId)GetAuthScopeArgs.BuildersetTokenId(java.lang.Boolean setTokenId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetAuthScopeArgs defaults)
-
-
Method Detail
-
name
public GetAuthScopeArgs.Builder name(com.pulumi.core.Output<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
-
name
public GetAuthScopeArgs.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 GetAuthScopeArgs.Builder region(@Nullable com.pulumi.core.Output<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
-
region
public GetAuthScopeArgs.Builder region(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 GetAuthScopeArgs.Builder setTokenId(@Nullable com.pulumi.core.Output<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
-
setTokenId
public GetAuthScopeArgs.Builder setTokenId(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 GetAuthScopeArgs build()
-
-