* The VPC connection ARN. *
*/ private String vpcConnectionArn; /** ** The State of Vpc Connection. *
*/ private String state; /** ** The authentication type of VPC connection. *
*/ private String authentication; /** ** The VPC ID of the VPC connection. *
*/ private String vpcId; /** ** The list of client subnets. *
*/ private java.util.List* The list of security groups. *
*/ private java.util.List* The creation time of VPC connection. *
*/ private java.util.Date creationTime; /** ** A map of tags for the VPC connection. *
*/ private java.util.Map* The VPC connection ARN. *
* * @param vpcConnectionArn ** The VPC connection ARN. *
*/ public void setVpcConnectionArn(String vpcConnectionArn) { this.vpcConnectionArn = vpcConnectionArn; } /** ** The VPC connection ARN. *
* * @return* The VPC connection ARN. *
*/ public String getVpcConnectionArn() { return this.vpcConnectionArn; } /** ** The VPC connection ARN. *
* * @param vpcConnectionArn ** The VPC connection ARN. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withVpcConnectionArn(String vpcConnectionArn) { setVpcConnectionArn(vpcConnectionArn); return this; } /** ** The State of Vpc Connection. *
* * @param state ** The State of Vpc Connection. *
* @see VpcConnectionState */ public void setState(String state) { this.state = state; } /** ** The State of Vpc Connection. *
* * @return* The State of Vpc Connection. *
* @see VpcConnectionState */ public String getState() { return this.state; } /** ** The State of Vpc Connection. *
* * @param state ** The State of Vpc Connection. *
* @return Returns a reference to this object so that method calls can be chained together. * @see VpcConnectionState */ public CreateVpcConnectionResult withState(String state) { setState(state); return this; } /** ** The State of Vpc Connection. *
* * @param state ** The State of Vpc Connection. *
* @return Returns a reference to this object so that method calls can be chained together. * @see VpcConnectionState */ public CreateVpcConnectionResult withState(VpcConnectionState state) { this.state = state.toString(); return this; } /** ** The authentication type of VPC connection. *
* * @param authentication ** The authentication type of VPC connection. *
*/ public void setAuthentication(String authentication) { this.authentication = authentication; } /** ** The authentication type of VPC connection. *
* * @return* The authentication type of VPC connection. *
*/ public String getAuthentication() { return this.authentication; } /** ** The authentication type of VPC connection. *
* * @param authentication ** The authentication type of VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withAuthentication(String authentication) { setAuthentication(authentication); return this; } /** ** The VPC ID of the VPC connection. *
* * @param vpcId ** The VPC ID of the VPC connection. *
*/ public void setVpcId(String vpcId) { this.vpcId = vpcId; } /** ** The VPC ID of the VPC connection. *
* * @return* The VPC ID of the VPC connection. *
*/ public String getVpcId() { return this.vpcId; } /** ** The VPC ID of the VPC connection. *
* * @param vpcId ** The VPC ID of the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withVpcId(String vpcId) { setVpcId(vpcId); return this; } /** ** The list of client subnets. *
* * @return* The list of client subnets. *
*/ public java.util.List* The list of client subnets. *
* * @param clientSubnets ** The list of client subnets. *
*/ public void setClientSubnets(java.util.Collection* The list of client subnets. *
* ** NOTE: This method appends the values to the existing list (if any). Use * {@link #setClientSubnets(java.util.Collection)} or {@link #withClientSubnets(java.util.Collection)} if you want * to override the existing values. *
* * @param clientSubnets ** The list of client subnets. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withClientSubnets(String... clientSubnets) { if (this.clientSubnets == null) { setClientSubnets(new java.util.ArrayList* The list of client subnets. *
* * @param clientSubnets ** The list of client subnets. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withClientSubnets(java.util.Collection* The list of security groups. *
* * @return* The list of security groups. *
*/ public java.util.List* The list of security groups. *
* * @param securityGroups ** The list of security groups. *
*/ public void setSecurityGroups(java.util.Collection* The list of security groups. *
* ** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSecurityGroups(java.util.Collection)} or {@link #withSecurityGroups(java.util.Collection)} if you want * to override the existing values. *
* * @param securityGroups ** The list of security groups. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withSecurityGroups(String... securityGroups) { if (this.securityGroups == null) { setSecurityGroups(new java.util.ArrayList* The list of security groups. *
* * @param securityGroups ** The list of security groups. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withSecurityGroups(java.util.Collection* The creation time of VPC connection. *
* * @param creationTime ** The creation time of VPC connection. *
*/ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The creation time of VPC connection. *
* * @return* The creation time of VPC connection. *
*/ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The creation time of VPC connection. *
* * @param creationTime ** The creation time of VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** A map of tags for the VPC connection. *
* * @return* A map of tags for the VPC connection. *
*/ public java.util.Map* A map of tags for the VPC connection. *
* * @param tags ** A map of tags for the VPC connection. *
*/ public void setTags(java.util.Map* A map of tags for the VPC connection. *
* * @param tags ** A map of tags for the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public CreateVpcConnectionResult withTags(java.util.Map