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

com.aliyun.sdk.service.cloudapi20160714.models.CreateAccessControlListRequest Maven / Gradle / Ivy

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

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

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

CreateAccessControlListRequest

*/ public class CreateAccessControlListRequest extends Request { @Query @NameInMap("AclName") @Validation(required = true) private String aclName; @Query @NameInMap("AddressIPVersion") private String addressIPVersion; @Query @NameInMap("SecurityToken") private String securityToken; private CreateAccessControlListRequest(Builder builder) { super(builder); this.aclName = builder.aclName; this.addressIPVersion = builder.addressIPVersion; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static CreateAccessControlListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aclName */ public String getAclName() { return this.aclName; } /** * @return addressIPVersion */ public String getAddressIPVersion() { return this.addressIPVersion; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private String aclName; private String addressIPVersion; private String securityToken; private Builder() { super(); } private Builder(CreateAccessControlListRequest request) { super(request); this.aclName = request.aclName; this.addressIPVersion = request.addressIPVersion; this.securityToken = request.securityToken; } /** * The name of the ACL. The name must be 1 to 30 characters in length, and can contain letters, digits, periods (.), hyphens (-), forward slashes (/), and underscores (\_). The name must be unique within the region. */ public Builder aclName(String aclName) { this.putQueryParameter("AclName", aclName); this.aclName = aclName; return this; } /** * AddressIPVersion. */ public Builder addressIPVersion(String addressIPVersion) { this.putQueryParameter("AddressIPVersion", addressIPVersion); this.addressIPVersion = addressIPVersion; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public CreateAccessControlListRequest build() { return new CreateAccessControlListRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy