com.aliyun.sdk.service.ens20171110.models.DeleteSecurityGroupRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 DeleteSecurityGroupRequest} extends {@link RequestModel}
*
* DeleteSecurityGroupRequest
*/
public class DeleteSecurityGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String securityGroupId;
private DeleteSecurityGroupRequest(Builder builder) {
super(builder);
this.securityGroupId = builder.securityGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSecurityGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return securityGroupId
*/
public String getSecurityGroupId() {
return this.securityGroupId;
}
public static final class Builder extends Request.Builder {
private String securityGroupId;
private Builder() {
super();
}
private Builder(DeleteSecurityGroupRequest request) {
super(request);
this.securityGroupId = request.securityGroupId;
}
/**
* The security group ID of the instance.
* This parameter is required.
*
* example:
* sg-bp67acfmxazb4ph***
*/
public Builder securityGroupId(String securityGroupId) {
this.putQueryParameter("SecurityGroupId", securityGroupId);
this.securityGroupId = securityGroupId;
return this;
}
@Override
public DeleteSecurityGroupRequest build() {
return new DeleteSecurityGroupRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy