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

software.amazon.awscdk.services.apprunner.alpha.VpcIngressConnectionAttributes Maven / Gradle / Ivy

There is a newer version: 2.173.2-alpha.0
Show newest version
package software.amazon.awscdk.services.apprunner.alpha;

/**
 * (experimental) Attributes for the App Runner VPC Ingress Connection.
 * 

* Example: *

*

 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.apprunner.alpha.*;
 * VpcIngressConnectionAttributes vpcIngressConnectionAttributes = VpcIngressConnectionAttributes.builder()
 *         .domainName("domainName")
 *         .status("status")
 *         .vpcIngressConnectionArn("vpcIngressConnectionArn")
 *         .vpcIngressConnectionName("vpcIngressConnectionName")
 *         .build();
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-22T02:24:11.395Z") @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.apprunner.alpha.$Module.class, fqn = "@aws-cdk/aws-apprunner-alpha.VpcIngressConnectionAttributes") @software.amazon.jsii.Jsii.Proxy(VpcIngressConnectionAttributes.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface VpcIngressConnectionAttributes extends software.amazon.jsii.JsiiSerializable { /** * (experimental) The domain name associated with the VPC Ingress Connection resource. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull java.lang.String getDomainName(); /** * (experimental) The current status of the VPC Ingress Connection. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull java.lang.String getStatus(); /** * (experimental) The Amazon Resource Name (ARN) of the VPC Ingress Connection. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull java.lang.String getVpcIngressConnectionArn(); /** * (experimental) The name of the VPC Ingress Connection. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull java.lang.String getVpcIngressConnectionName(); /** * @return a {@link Builder} of {@link VpcIngressConnectionAttributes} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) static Builder builder() { return new Builder(); } /** * A builder for {@link VpcIngressConnectionAttributes} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static final class Builder implements software.amazon.jsii.Builder { java.lang.String domainName; java.lang.String status; java.lang.String vpcIngressConnectionArn; java.lang.String vpcIngressConnectionName; /** * Sets the value of {@link VpcIngressConnectionAttributes#getDomainName} * @param domainName The domain name associated with the VPC Ingress Connection resource. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder domainName(java.lang.String domainName) { this.domainName = domainName; return this; } /** * Sets the value of {@link VpcIngressConnectionAttributes#getStatus} * @param status The current status of the VPC Ingress Connection. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder status(java.lang.String status) { this.status = status; return this; } /** * Sets the value of {@link VpcIngressConnectionAttributes#getVpcIngressConnectionArn} * @param vpcIngressConnectionArn The Amazon Resource Name (ARN) of the VPC Ingress Connection. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder vpcIngressConnectionArn(java.lang.String vpcIngressConnectionArn) { this.vpcIngressConnectionArn = vpcIngressConnectionArn; return this; } /** * Sets the value of {@link VpcIngressConnectionAttributes#getVpcIngressConnectionName} * @param vpcIngressConnectionName The name of the VPC Ingress Connection. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder vpcIngressConnectionName(java.lang.String vpcIngressConnectionName) { this.vpcIngressConnectionName = vpcIngressConnectionName; return this; } /** * Builds the configured instance. * @return a new instance of {@link VpcIngressConnectionAttributes} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public VpcIngressConnectionAttributes build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link VpcIngressConnectionAttributes} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VpcIngressConnectionAttributes { private final java.lang.String domainName; private final java.lang.String status; private final java.lang.String vpcIngressConnectionArn; private final java.lang.String vpcIngressConnectionName; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.domainName = software.amazon.jsii.Kernel.get(this, "domainName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.status = software.amazon.jsii.Kernel.get(this, "status", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.vpcIngressConnectionArn = software.amazon.jsii.Kernel.get(this, "vpcIngressConnectionArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.vpcIngressConnectionName = software.amazon.jsii.Kernel.get(this, "vpcIngressConnectionName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ protected Jsii$Proxy(final Builder builder) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.domainName = java.util.Objects.requireNonNull(builder.domainName, "domainName is required"); this.status = java.util.Objects.requireNonNull(builder.status, "status is required"); this.vpcIngressConnectionArn = java.util.Objects.requireNonNull(builder.vpcIngressConnectionArn, "vpcIngressConnectionArn is required"); this.vpcIngressConnectionName = java.util.Objects.requireNonNull(builder.vpcIngressConnectionName, "vpcIngressConnectionName is required"); } @Override public final java.lang.String getDomainName() { return this.domainName; } @Override public final java.lang.String getStatus() { return this.status; } @Override public final java.lang.String getVpcIngressConnectionArn() { return this.vpcIngressConnectionArn; } @Override public final java.lang.String getVpcIngressConnectionName() { return this.vpcIngressConnectionName; } @Override @software.amazon.jsii.Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); data.set("domainName", om.valueToTree(this.getDomainName())); data.set("status", om.valueToTree(this.getStatus())); data.set("vpcIngressConnectionArn", om.valueToTree(this.getVpcIngressConnectionArn())); data.set("vpcIngressConnectionName", om.valueToTree(this.getVpcIngressConnectionName())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/aws-apprunner-alpha.VpcIngressConnectionAttributes")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public final boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; VpcIngressConnectionAttributes.Jsii$Proxy that = (VpcIngressConnectionAttributes.Jsii$Proxy) o; if (!domainName.equals(that.domainName)) return false; if (!status.equals(that.status)) return false; if (!vpcIngressConnectionArn.equals(that.vpcIngressConnectionArn)) return false; return this.vpcIngressConnectionName.equals(that.vpcIngressConnectionName); } @Override public final int hashCode() { int result = this.domainName.hashCode(); result = 31 * result + (this.status.hashCode()); result = 31 * result + (this.vpcIngressConnectionArn.hashCode()); result = 31 * result + (this.vpcIngressConnectionName.hashCode()); return result; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy