Class KeypairArgs.Builder

  • Enclosing class:
    KeypairArgs

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

      • Builder

        public Builder()
    • Method Detail

      • name

        public KeypairArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the keypair. Changing this creates a new keypair.
        Returns:
        builder
      • name

        public KeypairArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the keypair. Changing this creates a new keypair.
        Returns:
        builder
      • publicKey

        public KeypairArgs.Builder publicKey​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> publicKey)
        Parameters:
        publicKey - A pregenerated OpenSSH-formatted public key. Changing this creates a new keypair. If a public key is not specified, then a public/private key pair will be automatically generated. If a pair is created, then destroying this resource means you will lose access to that keypair forever.
        Returns:
        builder
      • publicKey

        public KeypairArgs.Builder publicKey​(java.lang.String publicKey)
        Parameters:
        publicKey - A pregenerated OpenSSH-formatted public key. Changing this creates a new keypair. If a public key is not specified, then a public/private key pair will be automatically generated. If a pair is created, then destroying this resource means you will lose access to that keypair forever.
        Returns:
        builder
      • region

        public KeypairArgs.Builder region​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V2 Compute client. Keypairs are associated with accounts, but a Compute client is needed to create one. If omitted, the `region` argument of the provider is used. Changing this creates a new keypair.
        Returns:
        builder
      • region

        public KeypairArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 Compute client. Keypairs are associated with accounts, but a Compute client is needed to create one. If omitted, the `region` argument of the provider is used. Changing this creates a new keypair.
        Returns:
        builder
      • userId

        public KeypairArgs.Builder userId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> userId)
        Parameters:
        userId - This allows administrative users to operate key-pairs of specified user ID. For this feature your need to have openstack microversion 2.10 (Liberty) or later.
        Returns:
        builder
      • userId

        public KeypairArgs.Builder userId​(java.lang.String userId)
        Parameters:
        userId - This allows administrative users to operate key-pairs of specified user ID. For this feature your need to have openstack microversion 2.10 (Liberty) or later.
        Returns:
        builder
      • valueSpecs

        public KeypairArgs.Builder valueSpecs​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder
      • valueSpecs

        public KeypairArgs.Builder valueSpecs​(java.util.Map<java.lang.String,​java.lang.Object> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder