Class InstanceArgs.Builder

  • Enclosing class:
    InstanceArgs

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

      • Builder

        public Builder()
    • Method Detail

      • instanceName

        public InstanceArgs.Builder instanceName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> instanceName)
        Parameters:
        instanceName - Two instances on a single account in the same region cannot have the same name. The length must be 3 to 64 characters. Chinese characters, English letters digits and hyphen are allowed.
        Returns:
        builder
      • instanceName

        public InstanceArgs.Builder instanceName​(java.lang.String instanceName)
        Parameters:
        instanceName - Two instances on a single account in the same region cannot have the same name. The length must be 3 to 64 characters. Chinese characters, English letters digits and hyphen are allowed.
        Returns:
        builder
      • name

        @Deprecated
        public InstanceArgs.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Deprecated.
        Field 'name' has been deprecated from version 1.97.0. Use 'instance_name' instead.
        Parameters:
        name - Replaced by `instance_name` after version 1.97.0.
        Returns:
        builder
      • name

        @Deprecated
        public InstanceArgs.Builder name​(java.lang.String name)
        Deprecated.
        Field 'name' has been deprecated from version 1.97.0. Use 'instance_name' instead.
        Parameters:
        name - Replaced by `instance_name` after version 1.97.0.
        Returns:
        builder
      • remark

        public InstanceArgs.Builder remark​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> remark)
        Parameters:
        remark - This attribute is a concise description of instance. The length cannot exceed 128.
        Returns:
        builder
      • remark

        public InstanceArgs.Builder remark​(java.lang.String remark)
        Parameters:
        remark - This attribute is a concise description of instance. The length cannot exceed 128.
        Returns:
        builder
      • tags

        public InstanceArgs.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
        Returns:
        builder
      • tags

        public InstanceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.Object> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
        Returns:
        builder