Class VpcIngressConnection

java.lang.Object
software.amazon.awssdk.services.apprunner.model.VpcIngressConnection
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<VpcIngressConnection.Builder,VpcIngressConnection>

@Generated("software.amazon.awssdk:codegen") public final class VpcIngressConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcIngressConnection.Builder,VpcIngressConnection>

The App Runner resource that specifies an App Runner endpoint for incoming traffic. It establishes a connection between a VPC interface endpoint and a App Runner service, to make your App Runner service accessible from only within an Amazon VPC.

See Also:
  • Method Details

    • vpcIngressConnectionArn

      public final String vpcIngressConnectionArn()

      The Amazon Resource Name (ARN) of the VPC Ingress Connection.

      Returns:
      The Amazon Resource Name (ARN) of the VPC Ingress Connection.
    • vpcIngressConnectionName

      public final String vpcIngressConnectionName()

      The customer-provided VPC Ingress Connection name.

      Returns:
      The customer-provided VPC Ingress Connection name.
    • serviceArn

      public final String serviceArn()

      The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.

      Returns:
      The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
    • status

      public final VpcIngressConnectionStatus status()

      The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE, PENDING_CREATION, PENDING_UPDATE, PENDING_DELETION,FAILED_CREATION, FAILED_UPDATE, FAILED_DELETION, and DELETED..

      If the service returns an enum value that is not available in the current SDK version, status will return VpcIngressConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE, PENDING_CREATION, PENDING_UPDATE, PENDING_DELETION,FAILED_CREATION, FAILED_UPDATE, FAILED_DELETION, and DELETED..
      See Also:
    • statusAsString

      public final String statusAsString()

      The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE, PENDING_CREATION, PENDING_UPDATE, PENDING_DELETION,FAILED_CREATION, FAILED_UPDATE, FAILED_DELETION, and DELETED..

      If the service returns an enum value that is not available in the current SDK version, status will return VpcIngressConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE, PENDING_CREATION, PENDING_UPDATE, PENDING_DELETION,FAILED_CREATION, FAILED_UPDATE, FAILED_DELETION, and DELETED..
      See Also:
    • accountId

      public final String accountId()

      The Account Id you use to create the VPC Ingress Connection resource.

      Returns:
      The Account Id you use to create the VPC Ingress Connection resource.
    • domainName

      public final String domainName()

      The domain name associated with the VPC Ingress Connection resource.

      Returns:
      The domain name associated with the VPC Ingress Connection resource.
    • ingressVpcConfiguration

      public final IngressVpcConfiguration ingressVpcConfiguration()

      Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.

      Returns:
      Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
    • createdAt

      public final Instant createdAt()

      The time when the VPC Ingress Connection was created. It's in the Unix time stamp format.

      • Type: Timestamp

      • Required: Yes

      Returns:
      The time when the VPC Ingress Connection was created. It's in the Unix time stamp format.

      • Type: Timestamp

      • Required: Yes

    • deletedAt

      public final Instant deletedAt()

      The time when the App Runner service was deleted. It's in the Unix time stamp format.

      • Type: Timestamp

      • Required: No

      Returns:
      The time when the App Runner service was deleted. It's in the Unix time stamp format.

      • Type: Timestamp

      • Required: No

    • toBuilder

      public VpcIngressConnection.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<VpcIngressConnection.Builder,VpcIngressConnection>
      Returns:
      a builder for type T
    • builder

      public static VpcIngressConnection.Builder builder()
    • serializableBuilderClass

      public static Class<? extends VpcIngressConnection.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.