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

com.aliyun.sdk.service.ens20171110.models.ModifyHaVipAttributeRequest Maven / Gradle / Ivy

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 ModifyHaVipAttributeRequest} extends {@link RequestModel}
 *
 * 

ModifyHaVipAttributeRequest

*/ public class ModifyHaVipAttributeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HaVipId") @com.aliyun.core.annotation.Validation(required = true) private String haVipId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") @com.aliyun.core.annotation.Validation(maxLength = 128, minLength = 1) private String name; private ModifyHaVipAttributeRequest(Builder builder) { super(builder); this.haVipId = builder.haVipId; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static ModifyHaVipAttributeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return haVipId */ public String getHaVipId() { return this.haVipId; } /** * @return name */ public String getName() { return this.name; } public static final class Builder extends Request.Builder { private String haVipId; private String name; private Builder() { super(); } private Builder(ModifyHaVipAttributeRequest request) { super(request); this.haVipId = request.haVipId; this.name = request.name; } /** *

The ID of the HAVIP that you want to modify.

*

This parameter is required.

* * example: *

havip-52y28****

*/ public Builder haVipId(String haVipId) { this.putQueryParameter("HaVipId", haVipId); this.haVipId = haVipId; return this; } /** *

The name of the HAVIP. The name must be 1 to 128 characters in length and cannot start with http:// or https://.

* * example: *

test

*/ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } @Override public ModifyHaVipAttributeRequest build() { return new ModifyHaVipAttributeRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy