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

com.aliyun.sdk.service.dataphin_public20230630.models.UpdateDataDomainRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link UpdateDataDomainRequest} extends {@link RequestModel}
 *
 * 

UpdateDataDomainRequest

*/ public class UpdateDataDomainRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OpTenantId") @com.aliyun.core.annotation.Validation(required = true) private Long opTenantId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("UpdateCommand") @com.aliyun.core.annotation.Validation(required = true) private UpdateCommand updateCommand; private UpdateDataDomainRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.opTenantId = builder.opTenantId; this.updateCommand = builder.updateCommand; } public static Builder builder() { return new Builder(); } public static UpdateDataDomainRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return opTenantId */ public Long getOpTenantId() { return this.opTenantId; } /** * @return updateCommand */ public UpdateCommand getUpdateCommand() { return this.updateCommand; } public static final class Builder extends Request.Builder { private String regionId; private Long opTenantId; private UpdateCommand updateCommand; private Builder() { super(); } private Builder(UpdateDataDomainRequest request) { super(request); this.regionId = request.regionId; this.opTenantId = request.opTenantId; this.updateCommand = request.updateCommand; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

This parameter is required.

* * example: *

30001011

*/ public Builder opTenantId(Long opTenantId) { this.putQueryParameter("OpTenantId", opTenantId); this.opTenantId = opTenantId; return this; } /** *

This parameter is required.

*/ public Builder updateCommand(UpdateCommand updateCommand) { String updateCommandShrink = shrink(updateCommand, "UpdateCommand", "json"); this.putBodyParameter("UpdateCommand", updateCommandShrink); this.updateCommand = updateCommand; return this; } @Override public UpdateDataDomainRequest build() { return new UpdateDataDomainRequest(this); } } /** * * {@link UpdateDataDomainRequest} extends {@link TeaModel} * *

UpdateDataDomainRequest

*/ public static class UpdateCommand extends TeaModel { @com.aliyun.core.annotation.NameInMap("Abbreviation") @com.aliyun.core.annotation.Validation(required = true) private String abbreviation; @com.aliyun.core.annotation.NameInMap("BizUnitId") @com.aliyun.core.annotation.Validation(required = true) private Long bizUnitId; @com.aliyun.core.annotation.NameInMap("DataDomainId") @com.aliyun.core.annotation.Validation(required = true) private Long dataDomainId; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DisplayName") @com.aliyun.core.annotation.Validation(required = true) private String displayName; @com.aliyun.core.annotation.NameInMap("Name") @com.aliyun.core.annotation.Validation(required = true) private String name; @com.aliyun.core.annotation.NameInMap("ParentId") private Long parentId; private UpdateCommand(Builder builder) { this.abbreviation = builder.abbreviation; this.bizUnitId = builder.bizUnitId; this.dataDomainId = builder.dataDomainId; this.description = builder.description; this.displayName = builder.displayName; this.name = builder.name; this.parentId = builder.parentId; } public static Builder builder() { return new Builder(); } public static UpdateCommand create() { return builder().build(); } /** * @return abbreviation */ public String getAbbreviation() { return this.abbreviation; } /** * @return bizUnitId */ public Long getBizUnitId() { return this.bizUnitId; } /** * @return dataDomainId */ public Long getDataDomainId() { return this.dataDomainId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return name */ public String getName() { return this.name; } /** * @return parentId */ public Long getParentId() { return this.parentId; } public static final class Builder { private String abbreviation; private Long bizUnitId; private Long dataDomainId; private String description; private String displayName; private String name; private Long parentId; /** *

This parameter is required.

* * example: *

dm_code_name

*/ public Builder abbreviation(String abbreviation) { this.abbreviation = abbreviation; return this; } /** *

This parameter is required.

* * example: *

545844456

*/ public Builder bizUnitId(Long bizUnitId) { this.bizUnitId = bizUnitId; return this; } /** *

This parameter is required.

* * example: *

1241844456

*/ public Builder dataDomainId(Long dataDomainId) { this.dataDomainId = dataDomainId; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** *

This parameter is required.

* * example: *

主题域测试

*/ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** *

This parameter is required.

* * example: *

dm_code_name

*/ public Builder name(String name) { this.name = name; return this; } /** * ParentId. */ public Builder parentId(Long parentId) { this.parentId = parentId; return this; } public UpdateCommand build() { return new UpdateCommand(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy