* The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
*/ private String vpcConnectionArn; /** ** The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
*/ private String targetClusterArn; /** ** The state of VPC connection. *
*/ private String state; /** ** The authentication type of VPC connection. *
*/ private String authentication; /** ** The VPC Id for the VPC connection. *
*/ private String vpcId; /** ** The list of subnets for the VPC connection. *
*/ private java.util.List* The list of security groups for the VPC connection. *
*/ private java.util.List* The creation time of the VPC connection. *
*/ private java.util.Date creationTime; /** ** A map of tags for the VPC connection. *
*/ private java.util.Map* The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
* * @param vpcConnectionArn ** The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
*/ public void setVpcConnectionArn(String vpcConnectionArn) { this.vpcConnectionArn = vpcConnectionArn; } /** ** The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
* * @return* The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
*/ public String getVpcConnectionArn() { return this.vpcConnectionArn; } /** ** The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
* * @param vpcConnectionArn ** The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withVpcConnectionArn(String vpcConnectionArn) { setVpcConnectionArn(vpcConnectionArn); return this; } /** ** The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
* * @param targetClusterArn ** The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
*/ public void setTargetClusterArn(String targetClusterArn) { this.targetClusterArn = targetClusterArn; } /** ** The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
* * @return* The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
*/ public String getTargetClusterArn() { return this.targetClusterArn; } /** ** The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
* * @param targetClusterArn ** The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withTargetClusterArn(String targetClusterArn) { setTargetClusterArn(targetClusterArn); 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 DescribeVpcConnectionResult 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 DescribeVpcConnectionResult 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 DescribeVpcConnectionResult withAuthentication(String authentication) { setAuthentication(authentication); return this; } /** ** The VPC Id for the VPC connection. *
* * @param vpcId ** The VPC Id for the VPC connection. *
*/ public void setVpcId(String vpcId) { this.vpcId = vpcId; } /** ** The VPC Id for the VPC connection. *
* * @return* The VPC Id for the VPC connection. *
*/ public String getVpcId() { return this.vpcId; } /** ** The VPC Id for the VPC connection. *
* * @param vpcId ** The VPC Id for the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withVpcId(String vpcId) { setVpcId(vpcId); return this; } /** ** The list of subnets for the VPC connection. *
* * @return* The list of subnets for the VPC connection. *
*/ public java.util.List* The list of subnets for the VPC connection. *
* * @param subnets ** The list of subnets for the VPC connection. *
*/ public void setSubnets(java.util.Collection* The list of subnets for the VPC connection. *
* ** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSubnets(java.util.Collection)} or {@link #withSubnets(java.util.Collection)} if you want to override * the existing values. *
* * @param subnets ** The list of subnets for the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withSubnets(String... subnets) { if (this.subnets == null) { setSubnets(new java.util.ArrayList* The list of subnets for the VPC connection. *
* * @param subnets ** The list of subnets for the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withSubnets(java.util.Collection* The list of security groups for the VPC connection. *
* * @return* The list of security groups for the VPC connection. *
*/ public java.util.List* The list of security groups for the VPC connection. *
* * @param securityGroups ** The list of security groups for the VPC connection. *
*/ public void setSecurityGroups(java.util.Collection* The list of security groups for the VPC connection. *
* ** 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 for the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withSecurityGroups(String... securityGroups) { if (this.securityGroups == null) { setSecurityGroups(new java.util.ArrayList* The list of security groups for the VPC connection. *
* * @param securityGroups ** The list of security groups for the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult withSecurityGroups(java.util.Collection* The creation time of the VPC connection. *
* * @param creationTime ** The creation time of the VPC connection. *
*/ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The creation time of the VPC connection. *
* * @return* The creation time of the VPC connection. *
*/ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The creation time of the VPC connection. *
* * @param creationTime ** The creation time of the VPC connection. *
* @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcConnectionResult 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 DescribeVpcConnectionResult withTags(java.util.Map