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

com.antgroup.antchain.openapi.cas.models.CreateWorkspaceRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.cas.models;

import com.aliyun.tea.*;

public class CreateWorkspaceRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    // workspace 显示名称
    @NameInMap("display_name")
    @Validation(required = true)
    public String displayName;

    // workspace 唯一标识符。
    @NameInMap("name")
    @Validation(required = true)
    public String name;

    // VPC | Classic
    @NameInMap("network_type")
    @Validation(required = true)
    public String networkType;

    // 地域
    @NameInMap("region")
    @Validation(required = true)
    public String region;

    // 可用区
    @NameInMap("zones")
    public java.util.List zones;

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

    public CreateWorkspaceRequest setAuthToken(String authToken) {
        this.authToken = authToken;
        return this;
    }
    public String getAuthToken() {
        return this.authToken;
    }

    public CreateWorkspaceRequest setDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }
    public String getDisplayName() {
        return this.displayName;
    }

    public CreateWorkspaceRequest setName(String name) {
        this.name = name;
        return this;
    }
    public String getName() {
        return this.name;
    }

    public CreateWorkspaceRequest setNetworkType(String networkType) {
        this.networkType = networkType;
        return this;
    }
    public String getNetworkType() {
        return this.networkType;
    }

    public CreateWorkspaceRequest setRegion(String region) {
        this.region = region;
        return this;
    }
    public String getRegion() {
        return this.region;
    }

    public CreateWorkspaceRequest setZones(java.util.List zones) {
        this.zones = zones;
        return this;
    }
    public java.util.List getZones() {
        return this.zones;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy