(String name) {
        this.name = name;
        return this;
    }

    


    /**
     * 边缘实例名称。
     * @return name
     */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    

    public UpdateInstanceResponse withStatus(String status) {
        this.status = status;
        return this;
    }

    


    /**
     * 边缘实例状态。 取值范围： ACTIVE、BUILD、DELETED、ERROR、HARD_REBOOT、MIGRATING、PAUSED、REBOOT、REBUILD、RESIZE、REVERT_RESIZE、SHUTOFF、SHELVED、SHELVED_OFFLOADED、SOFT_DELETED、SUSPENDED、VERIFY_RESIZE
     * @return status
     */
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    

    public UpdateInstanceResponse withUpdated(String updated) {
        this.updated = updated;
        return this;
    }

    


    /**
     * 边缘实例修改时间。 UTC时间，格式：yyyy-mm-ddTss:ss:ssZ，例如：0001-01-01T00:00:00Z
     * @return updated
     */
    public String getUpdated() {
        return updated;
    }

    public void setUpdated(String updated) {
        this.updated = updated;
    }

    

    public UpdateInstanceResponse withHostId(String hostId) {
        this.hostId = hostId;
        return this;
    }

    


    /**
     * 边缘实例所在主机的主机ID。
     * @return hostId
     */
    public String getHostId() {
        return hostId;
    }

    public void setHostId(String hostId) {
        this.hostId = hostId;
    }

    

    public UpdateInstanceResponse withAddresses(Map<String, List<InstanceAddress>> addresses) {
        this.addresses = addresses;
        return this;
    }

    

    public UpdateInstanceResponse putAddressesItem(String key, List<InstanceAddress> addressesItem) {
        if(this.addresses == null) {
            this.addresses = new HashMap<>();
        }
        this.addresses.put(key, addressesItem);
        return this;
    }

    public UpdateInstanceResponse withAddresses(Consumer<Map<String, List<InstanceAddress>>> addressesSetter) {
        if(this.addresses == null) {
            this.addresses = new HashMap<>();
        }
        addressesSetter.accept(this.addresses);
        return this;
    }
    /**
     * 边缘实例对应的网络地址信息，详情请参见表addresses字段数据结构说明。
     * @return addresses
     */
    public Map<String, List<InstanceAddress>> getAddresses() {
        return addresses;
    }

    public void setAddresses(Map<String, List<InstanceAddress>> addresses) {
        this.addresses = addresses;
    }

    

    public UpdateInstanceResponse withCreated(String created) {
        this.created = created;
        return this;
    }

    


    /**
     * 边缘实例创建时间。 时间格式：yyyy-mm-ddTss:ss:ssZ，例如：0001-01-01T00:00:00Z
     * @return created
     */
    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    

    public UpdateInstanceResponse withTags(List<String> tags) {
        this.tags = tags;
        return this;
    }

    
    public UpdateInstanceResponse addTagsItem(String tagsItem) {
        if(this.tags == null) {
            this.tags = new ArrayList<>();
        }
        this.tags.add(tagsItem);
        return this;
    }

    public UpdateInstanceResponse withTags(Consumer<List<String>> tagsSetter) {
        if(this.tags == null) {
            this.tags = new ArrayList<>();
        }
        tagsSetter.accept(this.tags);
        return this;
    }

    /**
     * 边缘实例标签。 主要用来存储边缘业务ID。
     * @return tags
     */
    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    

    public UpdateInstanceResponse withLocked(Boolean locked) {
        this.locked = locked;
        return this;
    }

    


    /**
     * 边缘实例是否为锁定状态。  - true：锁定 - false：未锁定
     * @return locked
     */
    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }

    

    public UpdateInstanceResponse withDescription(String description) {
        this.description = description;
        return this;
    }

    


    /**
     * 边缘实例的描述信息。
     * @return description
     */
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    

    public UpdateInstanceResponse withTenantId(String tenantId) {
        this.tenantId = tenantId;
        return this;
    }

    


    /**
     * 边缘实例所属租户ID，即项目ID，和project_id表示相同的概念，格式为UUID。
     * @return tenantId
     */
    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    

    public UpdateInstanceResponse withSysTags(List<SysTags> sysTags) {
        this.sysTags = sysTags;
        return this;
    }

    
    public UpdateInstanceResponse addSysTagsItem(SysTags sysTagsItem) {
        if(this.sysTags == null) {
            this.sysTags = new ArrayList<>();
        }
        this.sysTags.add(sysTagsItem);
        return this;
    }

    public UpdateInstanceResponse withSysTags(Consumer<List<SysTags>> sysTagsSetter) {
        if(this.sysTags == null) {
            this.sysTags = new ArrayList<>();
        }
        sysTagsSetter.accept(this.sysTags);
        return this;
    }

    /**
     * 边缘实例系统标签。
     * @return sysTags
     */
    public List<SysTags> getSysTags() {
        return sysTags;
    }

    public void setSysTags(List<SysTags> sysTags) {
        this.sysTags = sysTags;
    }

    

    public UpdateInstanceResponse withFlavor(FlavorInstance flavor) {
        this.flavor = flavor;
        return this;
    }

    public UpdateInstanceResponse withFlavor(Consumer<FlavorInstance> flavorSetter) {
        if(this.flavor == null ){
            this.flavor = new FlavorInstance();
            flavorSetter.accept(this.flavor);
        }
        
        return this;
    }


    /**
     * Get flavor
     * @return flavor
     */
    public FlavorInstance getFlavor() {
        return flavor;
    }

    public void setFlavor(FlavorInstance flavor) {
        this.flavor = flavor;
    }

    

    public UpdateInstanceResponse withMetadata(Map<String, String> metadata) {
        this.metadata = metadata;
        return this;
    }

    

    public UpdateInstanceResponse putMetadataItem(String key, String metadataItem) {
        if(this.metadata == null) {
            this.