/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.apprunner.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* 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 AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class VpcIngressConnection implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the VPC Ingress Connection. *
*/ private String vpcIngressConnectionArn; /** ** The customer-provided VPC Ingress Connection name. *
*/ private String vpcIngressConnectionName; /** ** The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. *
*/ private String serviceArn; /** *
* 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
..
*
* The Account Id you use to create the VPC Ingress Connection resource. *
*/ private String accountId; /** ** The domain name associated with the VPC Ingress Connection resource. *
*/ private String domainName; /** ** Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the * VPC Ingress Connection resource. *
*/ private IngressVpcConfiguration ingressVpcConfiguration; /** ** The time when the VPC Ingress Connection was created. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: Yes *
** The time when the App Runner service was deleted. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: No *
** The Amazon Resource Name (ARN) of the VPC Ingress Connection. *
* * @param vpcIngressConnectionArn * The Amazon Resource Name (ARN) of the VPC Ingress Connection. */ public void setVpcIngressConnectionArn(String vpcIngressConnectionArn) { this.vpcIngressConnectionArn = vpcIngressConnectionArn; } /** ** The Amazon Resource Name (ARN) of the VPC Ingress Connection. *
* * @return The Amazon Resource Name (ARN) of the VPC Ingress Connection. */ public String getVpcIngressConnectionArn() { return this.vpcIngressConnectionArn; } /** ** The Amazon Resource Name (ARN) of the VPC Ingress Connection. *
* * @param vpcIngressConnectionArn * The Amazon Resource Name (ARN) of the VPC Ingress Connection. * @return Returns a reference to this object so that method calls can be chained together. */ public VpcIngressConnection withVpcIngressConnectionArn(String vpcIngressConnectionArn) { setVpcIngressConnectionArn(vpcIngressConnectionArn); return this; } /** ** The customer-provided VPC Ingress Connection name. *
* * @param vpcIngressConnectionName * The customer-provided VPC Ingress Connection name. */ public void setVpcIngressConnectionName(String vpcIngressConnectionName) { this.vpcIngressConnectionName = vpcIngressConnectionName; } /** ** The customer-provided VPC Ingress Connection name. *
* * @return The customer-provided VPC Ingress Connection name. */ public String getVpcIngressConnectionName() { return this.vpcIngressConnectionName; } /** ** The customer-provided VPC Ingress Connection name. *
* * @param vpcIngressConnectionName * The customer-provided VPC Ingress Connection name. * @return Returns a reference to this object so that method calls can be chained together. */ public VpcIngressConnection withVpcIngressConnectionName(String vpcIngressConnectionName) { setVpcIngressConnectionName(vpcIngressConnectionName); return this; } /** ** The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. *
* * @param serviceArn * The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. */ public void setServiceArn(String serviceArn) { this.serviceArn = serviceArn; } /** ** The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. *
* * @return The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. */ public String getServiceArn() { return this.serviceArn; } /** ** The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. *
* * @param serviceArn * The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection. * @return Returns a reference to this object so that method calls can be chained together. */ public VpcIngressConnection withServiceArn(String serviceArn) { setServiceArn(serviceArn); return this; } /** *
* 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
..
*
AVAILABLE
, PENDING_CREATION
, PENDING_UPDATE
,
* PENDING_DELETION
,FAILED_CREATION
, FAILED_UPDATE
,
* FAILED_DELETION
, and DELETED
..
* @see VpcIngressConnectionStatus
*/
public void setStatus(String status) {
this.status = 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
..
*
AVAILABLE
, PENDING_CREATION
, PENDING_UPDATE
,
* PENDING_DELETION
,FAILED_CREATION
, FAILED_UPDATE
,
* FAILED_DELETION
, and DELETED
..
* @see VpcIngressConnectionStatus
*/
public String getStatus() {
return this.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
..
*
AVAILABLE
, PENDING_CREATION
, PENDING_UPDATE
,
* PENDING_DELETION
,FAILED_CREATION
, FAILED_UPDATE
,
* FAILED_DELETION
, and DELETED
..
* @return Returns a reference to this object so that method calls can be chained together.
* @see VpcIngressConnectionStatus
*/
public VpcIngressConnection withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* 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
..
*
AVAILABLE
, PENDING_CREATION
, PENDING_UPDATE
,
* PENDING_DELETION
,FAILED_CREATION
, FAILED_UPDATE
,
* FAILED_DELETION
, and DELETED
..
* @return Returns a reference to this object so that method calls can be chained together.
* @see VpcIngressConnectionStatus
*/
public VpcIngressConnection withStatus(VpcIngressConnectionStatus status) {
this.status = status.toString();
return this;
}
/**
* * The Account Id you use to create the VPC Ingress Connection resource. *
* * @param accountId * The Account Id you use to create the VPC Ingress Connection resource. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** ** The Account Id you use to create the VPC Ingress Connection resource. *
* * @return The Account Id you use to create the VPC Ingress Connection resource. */ public String getAccountId() { return this.accountId; } /** ** The Account Id you use to create the VPC Ingress Connection resource. *
* * @param accountId * The Account Id you use to create the VPC Ingress Connection resource. * @return Returns a reference to this object so that method calls can be chained together. */ public VpcIngressConnection withAccountId(String accountId) { setAccountId(accountId); return this; } /** ** The domain name associated with the VPC Ingress Connection resource. *
* * @param domainName * The domain name associated with the VPC Ingress Connection resource. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The domain name associated with the VPC Ingress Connection resource. *
* * @return The domain name associated with the VPC Ingress Connection resource. */ public String getDomainName() { return this.domainName; } /** ** The domain name associated with the VPC Ingress Connection resource. *
* * @param domainName * The domain name associated with the VPC Ingress Connection resource. * @return Returns a reference to this object so that method calls can be chained together. */ public VpcIngressConnection withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the * VPC Ingress Connection resource. *
* * @param ingressVpcConfiguration * Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with * the VPC Ingress Connection resource. */ public void setIngressVpcConfiguration(IngressVpcConfiguration ingressVpcConfiguration) { this.ingressVpcConfiguration = ingressVpcConfiguration; } /** ** Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the * VPC Ingress Connection resource. *
* * @return Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate * with the VPC Ingress Connection resource. */ public IngressVpcConfiguration getIngressVpcConfiguration() { return this.ingressVpcConfiguration; } /** ** Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the * VPC Ingress Connection resource. *
* * @param ingressVpcConfiguration * Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with * the VPC Ingress Connection resource. * @return Returns a reference to this object so that method calls can be chained together. */ public VpcIngressConnection withIngressVpcConfiguration(IngressVpcConfiguration ingressVpcConfiguration) { setIngressVpcConfiguration(ingressVpcConfiguration); return this; } /** ** The time when the VPC Ingress Connection was created. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: Yes *
** Type: Timestamp *
** Required: Yes *
** The time when the VPC Ingress Connection was created. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: Yes *
** Type: Timestamp *
** Required: Yes *
** The time when the VPC Ingress Connection was created. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: Yes *
** Type: Timestamp *
** Required: Yes *
** The time when the App Runner service was deleted. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: No *
** Type: Timestamp *
** Required: No *
** The time when the App Runner service was deleted. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: No *
** Type: Timestamp *
** Required: No *
** The time when the App Runner service was deleted. It's in the Unix time stamp format. *
** Type: Timestamp *
** Required: No *
** Type: Timestamp *
** Required: No *
*