![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.avi.sdk.model.IpamDnsTencentProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avisdk Show documentation
Show all versions of avisdk Show documentation
Avi SDK is a java API which creates a session with controller and perform CRUD operations.
The newest version!
/*
* Copyright 2021 VMware, Inc.
* SPDX-License-Identifier: Apache License 2.0
*/
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The IpamDnsTencentProfile is a POJO class extends AviRestResource that used for creating
* IpamDnsTencentProfile.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IpamDnsTencentProfile {
@JsonProperty("cloud_credentials_ref")
private String cloudCredentialsRef;
@JsonProperty("region")
private String region;
@JsonProperty("usable_subnet_ids")
private List usableSubnetIds;
@JsonProperty("vpc_id")
private String vpcId;
@JsonProperty("zones")
private List zones;
/**
* This is the getter method this will return the attribute value.
* Credentials to access tencent cloud.
* It is a reference to an object of type cloudconnectoruser.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return cloudCredentialsRef
*/
public String getCloudCredentialsRef() {
return cloudCredentialsRef;
}
/**
* This is the setter method to the attribute.
* Credentials to access tencent cloud.
* It is a reference to an object of type cloudconnectoruser.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param cloudCredentialsRef set the cloudCredentialsRef.
*/
public void setCloudCredentialsRef(String cloudCredentialsRef) {
this.cloudCredentialsRef = cloudCredentialsRef;
}
/**
* This is the getter method this will return the attribute value.
* Vpc region.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return region
*/
public String getRegion() {
return region;
}
/**
* This is the setter method to the attribute.
* Vpc region.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param region set the region.
*/
public void setRegion(String region) {
this.region = region;
}
/**
* This is the getter method this will return the attribute value.
* Usable networks for virtual ip.
* If virtualservice does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for ip
* allocation.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return usableSubnetIds
*/
public List getUsableSubnetIds() {
return usableSubnetIds;
}
/**
* This is the setter method. this will set the usableSubnetIds
* Usable networks for virtual ip.
* If virtualservice does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for ip
* allocation.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return usableSubnetIds
*/
public void setUsableSubnetIds(List usableSubnetIds) {
this.usableSubnetIds = usableSubnetIds;
}
/**
* This is the setter method this will set the usableSubnetIds
* Usable networks for virtual ip.
* If virtualservice does not specify a network and auto_allocate_ip is set, then the first available network from this list will be chosen for ip
* allocation.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return usableSubnetIds
*/
public IpamDnsTencentProfile addUsableSubnetIdsItem(String usableSubnetIdsItem) {
if (this.usableSubnetIds == null) {
this.usableSubnetIds = new ArrayList();
}
this.usableSubnetIds.add(usableSubnetIdsItem);
return this;
}
/**
* This is the getter method this will return the attribute value.
* Vpc id.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return vpcId
*/
public String getVpcId() {
return vpcId;
}
/**
* This is the setter method to the attribute.
* Vpc id.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param vpcId set the vpcId.
*/
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
/**
* This is the getter method this will return the attribute value.
* Network configuration for virtual ip per az.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return zones
*/
public List getZones() {
return zones;
}
/**
* This is the setter method. this will set the zones
* Network configuration for virtual ip per az.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return zones
*/
public void setZones(List zones) {
this.zones = zones;
}
/**
* This is the setter method this will set the zones
* Network configuration for virtual ip per az.
* Field introduced in 18.2.3.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return zones
*/
public IpamDnsTencentProfile addZonesItem(TencentZoneNetwork zonesItem) {
if (this.zones == null) {
this.zones = new ArrayList();
}
this.zones.add(zonesItem);
return this;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IpamDnsTencentProfile objIpamDnsTencentProfile = (IpamDnsTencentProfile) o;
return Objects.equals(this.vpcId, objIpamDnsTencentProfile.vpcId)&&
Objects.equals(this.cloudCredentialsRef, objIpamDnsTencentProfile.cloudCredentialsRef)&&
Objects.equals(this.usableSubnetIds, objIpamDnsTencentProfile.usableSubnetIds)&&
Objects.equals(this.zones, objIpamDnsTencentProfile.zones)&&
Objects.equals(this.region, objIpamDnsTencentProfile.region);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IpamDnsTencentProfile {\n");
sb.append(" cloudCredentialsRef: ").append(toIndentedString(cloudCredentialsRef)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" usableSubnetIds: ").append(toIndentedString(usableSubnetIds)).append("\n");
sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n");
sb.append(" zones: ").append(toIndentedString(zones)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy