com.aliyun.sdk.service.ecs20140526.models.ModifyRouterInterfaceAttributeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// 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 ModifyRouterInterfaceAttributeRequest} extends {@link RequestModel}
*
* ModifyRouterInterfaceAttributeRequest
*/
public class ModifyRouterInterfaceAttributeRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckSourceIp")
private String healthCheckSourceIp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckTargetIp")
private String healthCheckTargetIp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OppositeInterfaceId")
private String oppositeInterfaceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OppositeInterfaceOwnerId")
private Long oppositeInterfaceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OppositeRouterId")
private String oppositeRouterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OppositeRouterType")
private String oppositeRouterType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RouterInterfaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String routerInterfaceId;
private ModifyRouterInterfaceAttributeRequest(Builder builder) {
super(builder);
this.description = builder.description;
this.healthCheckSourceIp = builder.healthCheckSourceIp;
this.healthCheckTargetIp = builder.healthCheckTargetIp;
this.name = builder.name;
this.oppositeInterfaceId = builder.oppositeInterfaceId;
this.oppositeInterfaceOwnerId = builder.oppositeInterfaceOwnerId;
this.oppositeRouterId = builder.oppositeRouterId;
this.oppositeRouterType = builder.oppositeRouterType;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.routerInterfaceId = builder.routerInterfaceId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyRouterInterfaceAttributeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return healthCheckSourceIp
*/
public String getHealthCheckSourceIp() {
return this.healthCheckSourceIp;
}
/**
* @return healthCheckTargetIp
*/
public String getHealthCheckTargetIp() {
return this.healthCheckTargetIp;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return oppositeInterfaceId
*/
public String getOppositeInterfaceId() {
return this.oppositeInterfaceId;
}
/**
* @return oppositeInterfaceOwnerId
*/
public Long getOppositeInterfaceOwnerId() {
return this.oppositeInterfaceOwnerId;
}
/**
* @return oppositeRouterId
*/
public String getOppositeRouterId() {
return this.oppositeRouterId;
}
/**
* @return oppositeRouterType
*/
public String getOppositeRouterType() {
return this.oppositeRouterType;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return routerInterfaceId
*/
public String getRouterInterfaceId() {
return this.routerInterfaceId;
}
public static final class Builder extends Request.Builder {
private String description;
private String healthCheckSourceIp;
private String healthCheckTargetIp;
private String name;
private String oppositeInterfaceId;
private Long oppositeInterfaceOwnerId;
private String oppositeRouterId;
private String oppositeRouterType;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String routerInterfaceId;
private Builder() {
super();
}
private Builder(ModifyRouterInterfaceAttributeRequest request) {
super(request);
this.description = request.description;
this.healthCheckSourceIp = request.healthCheckSourceIp;
this.healthCheckTargetIp = request.healthCheckTargetIp;
this.name = request.name;
this.oppositeInterfaceId = request.oppositeInterfaceId;
this.oppositeInterfaceOwnerId = request.oppositeInterfaceOwnerId;
this.oppositeRouterId = request.oppositeRouterId;
this.oppositeRouterType = request.oppositeRouterType;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.routerInterfaceId = request.routerInterfaceId;
}
/**
* Description.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* HealthCheckSourceIp.
*/
public Builder healthCheckSourceIp(String healthCheckSourceIp) {
this.putQueryParameter("HealthCheckSourceIp", healthCheckSourceIp);
this.healthCheckSourceIp = healthCheckSourceIp;
return this;
}
/**
* HealthCheckTargetIp.
*/
public Builder healthCheckTargetIp(String healthCheckTargetIp) {
this.putQueryParameter("HealthCheckTargetIp", healthCheckTargetIp);
this.healthCheckTargetIp = healthCheckTargetIp;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* OppositeInterfaceId.
*/
public Builder oppositeInterfaceId(String oppositeInterfaceId) {
this.putQueryParameter("OppositeInterfaceId", oppositeInterfaceId);
this.oppositeInterfaceId = oppositeInterfaceId;
return this;
}
/**
* OppositeInterfaceOwnerId.
*/
public Builder oppositeInterfaceOwnerId(Long oppositeInterfaceOwnerId) {
this.putQueryParameter("OppositeInterfaceOwnerId", oppositeInterfaceOwnerId);
this.oppositeInterfaceOwnerId = oppositeInterfaceOwnerId;
return this;
}
/**
* OppositeRouterId.
*/
public Builder oppositeRouterId(String oppositeRouterId) {
this.putQueryParameter("OppositeRouterId", oppositeRouterId);
this.oppositeRouterId = oppositeRouterId;
return this;
}
/**
* OppositeRouterType.
*/
public Builder oppositeRouterType(String oppositeRouterType) {
this.putQueryParameter("OppositeRouterType", oppositeRouterType);
this.oppositeRouterType = oppositeRouterType;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* RouterInterfaceId.
*/
public Builder routerInterfaceId(String routerInterfaceId) {
this.putQueryParameter("RouterInterfaceId", routerInterfaceId);
this.routerInterfaceId = routerInterfaceId;
return this;
}
@Override
public ModifyRouterInterfaceAttributeRequest build() {
return new ModifyRouterInterfaceAttributeRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy