All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.deps.models.MountWeight Maven / Gradle / Ivy

There is a newer version: 3.2.40
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;

import com.aliyun.tea.*;

public class MountWeight extends TeaModel {
    // 挂载目标 ID
    @NameInMap("mount_target_id")
    @Validation(required = true)
    public String mountTargetId;

    // 端口
    @NameInMap("port")
    @Validation(required = true)
    public Long port;

    // 权重
    @NameInMap("weight")
    @Validation(required = true, maximum = 100)
    public Long weight;

    public static MountWeight build(java.util.Map map) throws Exception {
        MountWeight self = new MountWeight();
        return TeaModel.build(map, self);
    }

    public MountWeight setMountTargetId(String mountTargetId) {
        this.mountTargetId = mountTargetId;
        return this;
    }
    public String getMountTargetId() {
        return this.mountTargetId;
    }

    public MountWeight setPort(Long port) {
        this.port = port;
        return this;
    }
    public Long getPort() {
        return this.port;
    }

    public MountWeight setWeight(Long weight) {
        this.weight = weight;
        return this;
    }
    public Long getWeight() {
        return this.weight;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy