Class HostKeyArgs.Builder

  • Enclosing class:
    HostKeyArgs

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

      • Builder

        public Builder()
    • Method Detail

      • description

        public HostKeyArgs.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Text description.
        Returns:
        builder
      • description

        public HostKeyArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Text description.
        Returns:
        builder
      • hostKeyBody

        public HostKeyArgs.Builder hostKeyBody​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> hostKeyBody)
        Parameters:
        hostKeyBody - Private key portion of an SSH key pair.
        Returns:
        builder
      • hostKeyBody

        public HostKeyArgs.Builder hostKeyBody​(java.lang.String hostKeyBody)
        Parameters:
        hostKeyBody - Private key portion of an SSH key pair.
        Returns:
        builder
      • hostKeyBodyWo

        public HostKeyArgs.Builder hostKeyBodyWo​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> hostKeyBodyWo)
        Parameters:
        hostKeyBodyWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only private key portion of an SSH key pair, guaranteed not to be written to plan or state artifacts. One of `hostKeyBody` or `hostKeyBodyWo` must be configured.
        Returns:
        builder
      • hostKeyBodyWo

        public HostKeyArgs.Builder hostKeyBodyWo​(java.lang.String hostKeyBodyWo)
        Parameters:
        hostKeyBodyWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only private key portion of an SSH key pair, guaranteed not to be written to plan or state artifacts. One of `hostKeyBody` or `hostKeyBodyWo` must be configured.
        Returns:
        builder
      • region

        public HostKeyArgs.Builder region​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public HostKeyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • serverId

        public HostKeyArgs.Builder serverId​(com.pulumi.core.Output<java.lang.String> serverId)
        Parameters:
        serverId - Server ID.
        Returns:
        builder
      • serverId

        public HostKeyArgs.Builder serverId​(java.lang.String serverId)
        Parameters:
        serverId - Server ID.
        Returns:
        builder
      • tags

        public HostKeyArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public HostKeyArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder