Class GetAuthScopeArgs.Builder

  • Enclosing class:
    GetAuthScopeArgs

    public static final class GetAuthScopeArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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