com.databricks.sdk.service.provisioning.CreateVpcEndpointRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.provisioning;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
@Generated
public class CreateVpcEndpointRequest {
/** The ID of the VPC endpoint object in AWS. */
@JsonProperty("aws_vpc_endpoint_id")
private String awsVpcEndpointId;
/** The Google Cloud specific information for this Private Service Connect endpoint. */
@JsonProperty("gcp_vpc_endpoint_info")
private GcpVpcEndpointInfo gcpVpcEndpointInfo;
/** The AWS region in which this VPC endpoint object exists. */
@JsonProperty("region")
private String region;
/** The human-readable name of the storage configuration. */
@JsonProperty("vpc_endpoint_name")
private String vpcEndpointName;
public CreateVpcEndpointRequest setAwsVpcEndpointId(String awsVpcEndpointId) {
this.awsVpcEndpointId = awsVpcEndpointId;
return this;
}
public String getAwsVpcEndpointId() {
return awsVpcEndpointId;
}
public CreateVpcEndpointRequest setGcpVpcEndpointInfo(GcpVpcEndpointInfo gcpVpcEndpointInfo) {
this.gcpVpcEndpointInfo = gcpVpcEndpointInfo;
return this;
}
public GcpVpcEndpointInfo getGcpVpcEndpointInfo() {
return gcpVpcEndpointInfo;
}
public CreateVpcEndpointRequest setRegion(String region) {
this.region = region;
return this;
}
public String getRegion() {
return region;
}
public CreateVpcEndpointRequest setVpcEndpointName(String vpcEndpointName) {
this.vpcEndpointName = vpcEndpointName;
return this;
}
public String getVpcEndpointName() {
return vpcEndpointName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CreateVpcEndpointRequest that = (CreateVpcEndpointRequest) o;
return Objects.equals(awsVpcEndpointId, that.awsVpcEndpointId)
&& Objects.equals(gcpVpcEndpointInfo, that.gcpVpcEndpointInfo)
&& Objects.equals(region, that.region)
&& Objects.equals(vpcEndpointName, that.vpcEndpointName);
}
@Override
public int hashCode() {
return Objects.hash(awsVpcEndpointId, gcpVpcEndpointInfo, region, vpcEndpointName);
}
@Override
public String toString() {
return new ToStringer(CreateVpcEndpointRequest.class)
.add("awsVpcEndpointId", awsVpcEndpointId)
.add("gcpVpcEndpointInfo", gcpVpcEndpointInfo)
.add("region", region)
.add("vpcEndpointName", vpcEndpointName)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy