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

com.volcengine.privatelink.model.DescribeVpcLinkAttributesResponse 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;
/**
 * DescribeVpcLinkAttributesResponse
 */



public class DescribeVpcLinkAttributesResponse extends com.volcengine.model.AbstractResponse {
  @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("RequestId")
  private String requestId = 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 DescribeVpcLinkAttributesResponse chainRoleTrn(List chainRoleTrn) {
    this.chainRoleTrn = chainRoleTrn;
    return this;
  }

  public DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse privateIpAddresses(List privateIpAddresses) {
    this.privateIpAddresses = privateIpAddresses;
    return this;
  }

  public DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse requestId(String requestId) {
    this.requestId = requestId;
    return this;
  }

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

  public void setRequestId(String requestId) {
    this.requestId = requestId;
  }

  public DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse securityGroupIds(List securityGroupIds) {
    this.securityGroupIds = securityGroupIds;
    return this;
  }

  public DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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 DescribeVpcLinkAttributesResponse 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;
    }
    DescribeVpcLinkAttributesResponse describeVpcLinkAttributesResponse = (DescribeVpcLinkAttributesResponse) o;
    return Objects.equals(this.chainRoleTrn, describeVpcLinkAttributesResponse.chainRoleTrn) &&
        Objects.equals(this.creationTime, describeVpcLinkAttributesResponse.creationTime) &&
        Objects.equals(this.customerAccountId, describeVpcLinkAttributesResponse.customerAccountId) &&
        Objects.equals(this.deletedTime, describeVpcLinkAttributesResponse.deletedTime) &&
        Objects.equals(this.description, describeVpcLinkAttributesResponse.description) &&
        Objects.equals(this.networkInterfaceId, describeVpcLinkAttributesResponse.networkInterfaceId) &&
        Objects.equals(this.primaryIpAddress, describeVpcLinkAttributesResponse.primaryIpAddress) &&
        Objects.equals(this.privateIpAddresses, describeVpcLinkAttributesResponse.privateIpAddresses) &&
        Objects.equals(this.privateLinkGatewayId, describeVpcLinkAttributesResponse.privateLinkGatewayId) &&
        Objects.equals(this.requestId, describeVpcLinkAttributesResponse.requestId) &&
        Objects.equals(this.resourceId, describeVpcLinkAttributesResponse.resourceId) &&
        Objects.equals(this.securityGroupIds, describeVpcLinkAttributesResponse.securityGroupIds) &&
        Objects.equals(this.status, describeVpcLinkAttributesResponse.status) &&
        Objects.equals(this.subnetId, describeVpcLinkAttributesResponse.subnetId) &&
        Objects.equals(this.updateTime, describeVpcLinkAttributesResponse.updateTime) &&
        Objects.equals(this.vpcId, describeVpcLinkAttributesResponse.vpcId) &&
        Objects.equals(this.vpcLinkId, describeVpcLinkAttributesResponse.vpcLinkId) &&
        Objects.equals(this.vpcLinkIndex, describeVpcLinkAttributesResponse.vpcLinkIndex) &&
        Objects.equals(this.vpcLinkName, describeVpcLinkAttributesResponse.vpcLinkName);
  }

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


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeVpcLinkAttributesResponse {\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("    requestId: ").append(toIndentedString(requestId)).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