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

com.aliyun.sdk.service.ecs20140526.models.DescribeDiskEncryptionByDefaultStatusRequest Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

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

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

DescribeDiskEncryptionByDefaultStatusRequest

*/ public class DescribeDiskEncryptionByDefaultStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeDiskEncryptionByDefaultStatusRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeDiskEncryptionByDefaultStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder { private String regionId; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDiskEncryptionByDefaultStatusRequest request) { super(request); this.regionId = request.regionId; this.resourceOwnerId = request.resourceOwnerId; } /** *

The ID of the region. You can call the DescribeRegions operation to query the most recent region list.

*

This parameter is required.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeDiskEncryptionByDefaultStatusRequest build() { return new DescribeDiskEncryptionByDefaultStatusRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy