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

com.volcengine.privatelink.model.VpcLinkForDescribeVpcLinksOutput Maven / Gradle / Ivy

There is a newer version: 0.1.129
Show newest version
/*
 * privatelink
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.privatelink.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * VpcLinkForDescribeVpcLinksOutput
 */



public class VpcLinkForDescribeVpcLinksOutput {
  @SerializedName("ChainRoleTrn")
  private List chainRoleTrn = null;

  @SerializedName("CreationTime")
  private String creationTime = null;

  @SerializedName("CustomerAccountId")
  private String customerAccountId = null;

  @SerializedName("DeletedTime")
  private String deletedTime = null;

  @SerializedName("Description")
  private String description = null;

  @SerializedName("NetworkInterfaceId")
  private String networkInterfaceId = null;

  @SerializedName("PrimaryIpAddress")
  private String primaryIpAddress = null;

  @SerializedName("PrivateIpAddresses")
  private List privateIpAddresses = null;

  @SerializedName("PrivateLinkGatewayId")
  private String privateLinkGatewayId = null;

  @SerializedName("ResourceId")
  private String resourceId = null;

  @SerializedName("SecurityGroupIds")
  private List securityGroupIds = null;

  @SerializedName("Status")
  private String status = null;

  @SerializedName("SubnetId")
  private String subnetId = null;

  @SerializedName("UpdateTime")
  private String updateTime = null;

  @SerializedName("VpcId")
  private String vpcId = null;

  @SerializedName("VpcLinkId")
  private String vpcLinkId = null;

  @SerializedName("VpcLinkIndex")
  private Long vpcLinkIndex = null;

  @SerializedName("VpcLinkName")
  private String vpcLinkName = null;

  public VpcLinkForDescribeVpcLinksOutput chainRoleTrn(List chainRoleTrn) {
    this.chainRoleTrn = chainRoleTrn;
    return this;
  }

  public VpcLinkForDescribeVpcLinksOutput addChainRoleTrnItem(String chainRoleTrnItem) {
    if (this.chainRoleTrn == null) {
      this.chainRoleTrn = new ArrayList();
    }
    this.chainRoleTrn.add(chainRoleTrnItem);
    return this;
  }

   /**
   * Get chainRoleTrn
   * @return chainRoleTrn
  **/
  @Schema(description = "")
  public List getChainRoleTrn() {
    return chainRoleTrn;
  }

  public void setChainRoleTrn(List chainRoleTrn) {
    this.chainRoleTrn = chainRoleTrn;
  }

  public VpcLinkForDescribeVpcLinksOutput creationTime(String creationTime) {
    this.creationTime = creationTime;
    return this;
  }

   /**
   * Get creationTime
   * @return creationTime
  **/
  @Schema(description = "")
  public String getCreationTime() {
    return creationTime;
  }

  public void setCreationTime(String creationTime) {
    this.creationTime = creationTime;
  }

  public VpcLinkForDescribeVpcLinksOutput customerAccountId(String customerAccountId) {
    this.customerAccountId = customerAccountId;
    return this;
  }

   /**
   * Get customerAccountId
   * @return customerAccountId
  **/
  @Schema(description = "")
  public String getCustomerAccountId() {
    return customerAccountId;
  }

  public void setCustomerAccountId(String customerAccountId) {
    this.customerAccountId = customerAccountId;
  }

  public VpcLinkForDescribeVpcLinksOutput deletedTime(String deletedTime) {
    this.deletedTime = deletedTime;
    return this;
  }

   /**
   * Get deletedTime
   * @return deletedTime
  **/
  @Schema(description = "")
  public String getDeletedTime() {
    return deletedTime;
  }

  public void setDeletedTime(String deletedTime) {
    this.deletedTime = deletedTime;
  }

  public VpcLinkForDescribeVpcLinksOutput description(String description) {
    this.description = description;
    return this;
  }

   /**
   * Get description
   * @return description
  **/
  @Schema(description = "")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public VpcLinkForDescribeVpcLinksOutput networkInterfaceId(String networkInterfaceId) {
    this.networkInterfaceId = networkInterfaceId;
    return this;
  }

   /**
   * Get networkInterfaceId
   * @return networkInterfaceId
  **/
  @Schema(description = "")
  public String getNetworkInterfaceId() {
    return networkInterfaceId;
  }

  public void setNetworkInterfaceId(String networkInterfaceId) {
    this.networkInterfaceId = networkInterfaceId;
  }

  public VpcLinkForDescribeVpcLinksOutput primaryIpAddress(String primaryIpAddress) {
    this.primaryIpAddress = primaryIpAddress;
    return this;
  }

   /**
   * Get primaryIpAddress
   * @return primaryIpAddress
  **/
  @Schema(description = "")
  public String getPrimaryIpAddress() {
    return primaryIpAddress;
  }

  public void setPrimaryIpAddress(String primaryIpAddress) {
    this.primaryIpAddress = primaryIpAddress;
  }

  public VpcLinkForDescribeVpcLinksOutput privateIpAddresses(List privateIpAddresses) {
    this.privateIpAddresses = privateIpAddresses;
    return this;
  }

  public VpcLinkForDescribeVpcLinksOutput addPrivateIpAddressesItem(String privateIpAddressesItem) {
    if (this.privateIpAddresses == null) {
      this.privateIpAddresses = new ArrayList();
    }
    this.privateIpAddresses.add(privateIpAddressesItem);
    return this;
  }

   /**
   * Get privateIpAddresses
   * @return privateIpAddresses
  **/
  @Schema(description = "")
  public List getPrivateIpAddresses() {
    return privateIpAddresses;
  }

  public void setPrivateIpAddresses(List privateIpAddresses) {
    this.privateIpAddresses = privateIpAddresses;
  }

  public VpcLinkForDescribeVpcLinksOutput privateLinkGatewayId(String privateLinkGatewayId) {
    this.privateLinkGatewayId = privateLinkGatewayId;
    return this;
  }

   /**
   * Get privateLinkGatewayId
   * @return privateLinkGatewayId
  **/
  @Schema(description = "")
  public String getPrivateLinkGatewayId() {
    return privateLinkGatewayId;
  }

  public void setPrivateLinkGatewayId(String privateLinkGatewayId) {
    this.privateLinkGatewayId = privateLinkGatewayId;
  }

  public VpcLinkForDescribeVpcLinksOutput resourceId(String resourceId) {
    this.resourceId = resourceId;
    return this;
  }

   /**
   * Get resourceId
   * @return resourceId
  **/
  @Schema(description = "")
  public String getResourceId() {
    return resourceId;
  }

  public void setResourceId(String resourceId) {
    this.resourceId = resourceId;
  }

  public VpcLinkForDescribeVpcLinksOutput securityGroupIds(List securityGroupIds) {
    this.securityGroupIds = securityGroupIds;
    return this;
  }

  public VpcLinkForDescribeVpcLinksOutput addSecurityGroupIdsItem(String securityGroupIdsItem) {
    if (this.securityGroupIds == null) {
      this.securityGroupIds = new ArrayList();
    }
    this.securityGroupIds.add(securityGroupIdsItem);
    return this;
  }

   /**
   * Get securityGroupIds
   * @return securityGroupIds
  **/
  @Schema(description = "")
  public List getSecurityGroupIds() {
    return securityGroupIds;
  }

  public void setSecurityGroupIds(List securityGroupIds) {
    this.securityGroupIds = securityGroupIds;
  }

  public VpcLinkForDescribeVpcLinksOutput status(String status) {
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @Schema(description = "")
  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public VpcLinkForDescribeVpcLinksOutput subnetId(String subnetId) {
    this.subnetId = subnetId;
    return this;
  }

   /**
   * Get subnetId
   * @return subnetId
  **/
  @Schema(description = "")
  public String getSubnetId() {
    return subnetId;
  }

  public void setSubnetId(String subnetId) {
    this.subnetId = subnetId;
  }

  public VpcLinkForDescribeVpcLinksOutput updateTime(String updateTime) {
    this.updateTime = updateTime;
    return this;
  }

   /**
   * Get updateTime
   * @return updateTime
  **/
  @Schema(description = "")
  public String getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(String updateTime) {
    this.updateTime = updateTime;
  }

  public VpcLinkForDescribeVpcLinksOutput vpcId(String vpcId) {
    this.vpcId = vpcId;
    return this;
  }

   /**
   * Get vpcId
   * @return vpcId
  **/
  @Schema(description = "")
  public String getVpcId() {
    return vpcId;
  }

  public void setVpcId(String vpcId) {
    this.vpcId = vpcId;
  }

  public VpcLinkForDescribeVpcLinksOutput vpcLinkId(String vpcLinkId) {
    this.vpcLinkId = vpcLinkId;
    return this;
  }

   /**
   * Get vpcLinkId
   * @return vpcLinkId
  **/
  @Schema(description = "")
  public String getVpcLinkId() {
    return vpcLinkId;
  }

  public void setVpcLinkId(String vpcLinkId) {
    this.vpcLinkId = vpcLinkId;
  }

  public VpcLinkForDescribeVpcLinksOutput vpcLinkIndex(Long vpcLinkIndex) {
    this.vpcLinkIndex = vpcLinkIndex;
    return this;
  }

   /**
   * Get vpcLinkIndex
   * @return vpcLinkIndex
  **/
  @Schema(description = "")
  public Long getVpcLinkIndex() {
    return vpcLinkIndex;
  }

  public void setVpcLinkIndex(Long vpcLinkIndex) {
    this.vpcLinkIndex = vpcLinkIndex;
  }

  public VpcLinkForDescribeVpcLinksOutput vpcLinkName(String vpcLinkName) {
    this.vpcLinkName = vpcLinkName;
    return this;
  }

   /**
   * Get vpcLinkName
   * @return vpcLinkName
  **/
  @Schema(description = "")
  public String getVpcLinkName() {
    return vpcLinkName;
  }

  public void setVpcLinkName(String vpcLinkName) {
    this.vpcLinkName = vpcLinkName;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    VpcLinkForDescribeVpcLinksOutput vpcLinkForDescribeVpcLinksOutput = (VpcLinkForDescribeVpcLinksOutput) o;
    return Objects.equals(this.chainRoleTrn, vpcLinkForDescribeVpcLinksOutput.chainRoleTrn) &&
        Objects.equals(this.creationTime, vpcLinkForDescribeVpcLinksOutput.creationTime) &&
        Objects.equals(this.customerAccountId, vpcLinkForDescribeVpcLinksOutput.customerAccountId) &&
        Objects.equals(this.deletedTime, vpcLinkForDescribeVpcLinksOutput.deletedTime) &&
        Objects.equals(this.description, vpcLinkForDescribeVpcLinksOutput.description) &&
        Objects.equals(this.networkInterfaceId, vpcLinkForDescribeVpcLinksOutput.networkInterfaceId) &&
        Objects.equals(this.primaryIpAddress, vpcLinkForDescribeVpcLinksOutput.primaryIpAddress) &&
        Objects.equals(this.privateIpAddresses, vpcLinkForDescribeVpcLinksOutput.privateIpAddresses) &&
        Objects.equals(this.privateLinkGatewayId, vpcLinkForDescribeVpcLinksOutput.privateLinkGatewayId) &&
        Objects.equals(this.resourceId, vpcLinkForDescribeVpcLinksOutput.resourceId) &&
        Objects.equals(this.securityGroupIds, vpcLinkForDescribeVpcLinksOutput.securityGroupIds) &&
        Objects.equals(this.status, vpcLinkForDescribeVpcLinksOutput.status) &&
        Objects.equals(this.subnetId, vpcLinkForDescribeVpcLinksOutput.subnetId) &&
        Objects.equals(this.updateTime, vpcLinkForDescribeVpcLinksOutput.updateTime) &&
        Objects.equals(this.vpcId, vpcLinkForDescribeVpcLinksOutput.vpcId) &&
        Objects.equals(this.vpcLinkId, vpcLinkForDescribeVpcLinksOutput.vpcLinkId) &&
        Objects.equals(this.vpcLinkIndex, vpcLinkForDescribeVpcLinksOutput.vpcLinkIndex) &&
        Objects.equals(this.vpcLinkName, vpcLinkForDescribeVpcLinksOutput.vpcLinkName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(chainRoleTrn, creationTime, customerAccountId, deletedTime, description, networkInterfaceId, primaryIpAddress, privateIpAddresses, privateLinkGatewayId, resourceId, securityGroupIds, status, subnetId, updateTime, vpcId, vpcLinkId, vpcLinkIndex, vpcLinkName);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class VpcLinkForDescribeVpcLinksOutput {\n");
    
    sb.append("    chainRoleTrn: ").append(toIndentedString(chainRoleTrn)).append("\n");
    sb.append("    creationTime: ").append(toIndentedString(creationTime)).append("\n");
    sb.append("    customerAccountId: ").append(toIndentedString(customerAccountId)).append("\n");
    sb.append("    deletedTime: ").append(toIndentedString(deletedTime)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    networkInterfaceId: ").append(toIndentedString(networkInterfaceId)).append("\n");
    sb.append("    primaryIpAddress: ").append(toIndentedString(primaryIpAddress)).append("\n");
    sb.append("    privateIpAddresses: ").append(toIndentedString(privateIpAddresses)).append("\n");
    sb.append("    privateLinkGatewayId: ").append(toIndentedString(privateLinkGatewayId)).append("\n");
    sb.append("    resourceId: ").append(toIndentedString(resourceId)).append("\n");
    sb.append("    securityGroupIds: ").append(toIndentedString(securityGroupIds)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    subnetId: ").append(toIndentedString(subnetId)).append("\n");
    sb.append("    updateTime: ").append(toIndentedString(updateTime)).append("\n");
    sb.append("    vpcId: ").append(toIndentedString(vpcId)).append("\n");
    sb.append("    vpcLinkId: ").append(toIndentedString(vpcLinkId)).append("\n");
    sb.append("    vpcLinkIndex: ").append(toIndentedString(vpcLinkIndex)).append("\n");
    sb.append("    vpcLinkName: ").append(toIndentedString(vpcLinkName)).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 - 2024 Weber Informatics LLC | Privacy Policy