Class KeypairState.Builder

  • Enclosing class:
    KeypairState

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

      • Builder

        public Builder()
    • Method Detail

      • fingerprint

        public KeypairState.Builder fingerprint​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> fingerprint)
        Parameters:
        fingerprint - The fingerprint of the public key.
        Returns:
        builder
      • fingerprint

        public KeypairState.Builder fingerprint​(java.lang.String fingerprint)
        Parameters:
        fingerprint - The fingerprint of the public key.
        Returns:
        builder
      • name

        public KeypairState.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 KeypairState.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the keypair. Changing this creates a new keypair.
        Returns:
        builder
      • privateKey

        public KeypairState.Builder privateKey​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> privateKey)
        Parameters:
        privateKey - The generated private key when no public key is specified.
        Returns:
        builder
      • privateKey

        public KeypairState.Builder privateKey​(java.lang.String privateKey)
        Parameters:
        privateKey - The generated private key when no public key is specified.
        Returns:
        builder
      • publicKey

        public KeypairState.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 KeypairState.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 KeypairState.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 KeypairState.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 KeypairState.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 KeypairState.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 KeypairState.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 KeypairState.Builder valueSpecs​(java.util.Map<java.lang.String,​java.lang.Object> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder