com.pulumi.googlenative.datamigration.v1.outputs.CloudSqlConnectionProfileResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.datamigration.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.datamigration.v1.outputs.CloudSqlSettingsResponse;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CloudSqlConnectionProfileResponse {
/**
* @return The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
*
*/
private String additionalPublicIp;
/**
* @return The Cloud SQL instance ID that this connection profile is associated with.
*
*/
private String cloudSqlId;
/**
* @return The Cloud SQL database instance's private IP.
*
*/
private String privateIp;
/**
* @return The Cloud SQL database instance's public IP.
*
*/
private String publicIp;
/**
* @return Immutable. Metadata used to create the destination Cloud SQL database.
*
*/
private CloudSqlSettingsResponse settings;
private CloudSqlConnectionProfileResponse() {}
/**
* @return The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
*
*/
public String additionalPublicIp() {
return this.additionalPublicIp;
}
/**
* @return The Cloud SQL instance ID that this connection profile is associated with.
*
*/
public String cloudSqlId() {
return this.cloudSqlId;
}
/**
* @return The Cloud SQL database instance's private IP.
*
*/
public String privateIp() {
return this.privateIp;
}
/**
* @return The Cloud SQL database instance's public IP.
*
*/
public String publicIp() {
return this.publicIp;
}
/**
* @return Immutable. Metadata used to create the destination Cloud SQL database.
*
*/
public CloudSqlSettingsResponse settings() {
return this.settings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CloudSqlConnectionProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String additionalPublicIp;
private String cloudSqlId;
private String privateIp;
private String publicIp;
private CloudSqlSettingsResponse settings;
public Builder() {}
public Builder(CloudSqlConnectionProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.additionalPublicIp = defaults.additionalPublicIp;
this.cloudSqlId = defaults.cloudSqlId;
this.privateIp = defaults.privateIp;
this.publicIp = defaults.publicIp;
this.settings = defaults.settings;
}
@CustomType.Setter
public Builder additionalPublicIp(String additionalPublicIp) {
this.additionalPublicIp = Objects.requireNonNull(additionalPublicIp);
return this;
}
@CustomType.Setter
public Builder cloudSqlId(String cloudSqlId) {
this.cloudSqlId = Objects.requireNonNull(cloudSqlId);
return this;
}
@CustomType.Setter
public Builder privateIp(String privateIp) {
this.privateIp = Objects.requireNonNull(privateIp);
return this;
}
@CustomType.Setter
public Builder publicIp(String publicIp) {
this.publicIp = Objects.requireNonNull(publicIp);
return this;
}
@CustomType.Setter
public Builder settings(CloudSqlSettingsResponse settings) {
this.settings = Objects.requireNonNull(settings);
return this;
}
public CloudSqlConnectionProfileResponse build() {
final var o = new CloudSqlConnectionProfileResponse();
o.additionalPublicIp = additionalPublicIp;
o.cloudSqlId = cloudSqlId;
o.privateIp = privateIp;
o.publicIp = publicIp;
o.settings = settings;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy