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

com.amazonaws.services.ec2.model.PathComponent Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon EC2 module holds the client classes that are used for communicating with Amazon EC2 Service

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 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.ec2.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 

* Describes a path component. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PathComponent implements Serializable, Cloneable { /** *

* The sequence number. *

*/ private Integer sequenceNumber; /** *

* The network ACL rule. *

*/ private AnalysisAclRule aclRule; /** *

* The resource to which the path component is attached. *

*/ private AnalysisComponent attachedTo; /** *

* The component. *

*/ private AnalysisComponent component; /** *

* The destination VPC. *

*/ private AnalysisComponent destinationVpc; /** *

* The outbound header. *

*/ private AnalysisPacketHeader outboundHeader; /** *

* The inbound header. *

*/ private AnalysisPacketHeader inboundHeader; /** *

* The route table route. *

*/ private AnalysisRouteTableRoute routeTableRoute; /** *

* The security group rule. *

*/ private AnalysisSecurityGroupRule securityGroupRule; /** *

* The source VPC. *

*/ private AnalysisComponent sourceVpc; /** *

* The subnet. *

*/ private AnalysisComponent subnet; /** *

* The component VPC. *

*/ private AnalysisComponent vpc; /** *

* The additional details. *

*/ private com.amazonaws.internal.SdkInternalList additionalDetails; /** *

* The transit gateway. *

*/ private AnalysisComponent transitGateway; /** *

* The route in a transit gateway route table. *

*/ private TransitGatewayRouteTableRoute transitGatewayRouteTableRoute; /** *

* The explanation codes. *

*/ private com.amazonaws.internal.SdkInternalList explanations; /** *

* The load balancer listener. *

*/ private AnalysisComponent elasticLoadBalancerListener; /** *

* The Network Firewall stateless rule. *

*/ private FirewallStatelessRule firewallStatelessRule; /** *

* The Network Firewall stateful rule. *

*/ private FirewallStatefulRule firewallStatefulRule; /** *

* The name of the VPC endpoint service. *

*/ private String serviceName; /** *

* The sequence number. *

* * @param sequenceNumber * The sequence number. */ public void setSequenceNumber(Integer sequenceNumber) { this.sequenceNumber = sequenceNumber; } /** *

* The sequence number. *

* * @return The sequence number. */ public Integer getSequenceNumber() { return this.sequenceNumber; } /** *

* The sequence number. *

* * @param sequenceNumber * The sequence number. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withSequenceNumber(Integer sequenceNumber) { setSequenceNumber(sequenceNumber); return this; } /** *

* The network ACL rule. *

* * @param aclRule * The network ACL rule. */ public void setAclRule(AnalysisAclRule aclRule) { this.aclRule = aclRule; } /** *

* The network ACL rule. *

* * @return The network ACL rule. */ public AnalysisAclRule getAclRule() { return this.aclRule; } /** *

* The network ACL rule. *

* * @param aclRule * The network ACL rule. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withAclRule(AnalysisAclRule aclRule) { setAclRule(aclRule); return this; } /** *

* The resource to which the path component is attached. *

* * @param attachedTo * The resource to which the path component is attached. */ public void setAttachedTo(AnalysisComponent attachedTo) { this.attachedTo = attachedTo; } /** *

* The resource to which the path component is attached. *

* * @return The resource to which the path component is attached. */ public AnalysisComponent getAttachedTo() { return this.attachedTo; } /** *

* The resource to which the path component is attached. *

* * @param attachedTo * The resource to which the path component is attached. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withAttachedTo(AnalysisComponent attachedTo) { setAttachedTo(attachedTo); return this; } /** *

* The component. *

* * @param component * The component. */ public void setComponent(AnalysisComponent component) { this.component = component; } /** *

* The component. *

* * @return The component. */ public AnalysisComponent getComponent() { return this.component; } /** *

* The component. *

* * @param component * The component. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withComponent(AnalysisComponent component) { setComponent(component); return this; } /** *

* The destination VPC. *

* * @param destinationVpc * The destination VPC. */ public void setDestinationVpc(AnalysisComponent destinationVpc) { this.destinationVpc = destinationVpc; } /** *

* The destination VPC. *

* * @return The destination VPC. */ public AnalysisComponent getDestinationVpc() { return this.destinationVpc; } /** *

* The destination VPC. *

* * @param destinationVpc * The destination VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withDestinationVpc(AnalysisComponent destinationVpc) { setDestinationVpc(destinationVpc); return this; } /** *

* The outbound header. *

* * @param outboundHeader * The outbound header. */ public void setOutboundHeader(AnalysisPacketHeader outboundHeader) { this.outboundHeader = outboundHeader; } /** *

* The outbound header. *

* * @return The outbound header. */ public AnalysisPacketHeader getOutboundHeader() { return this.outboundHeader; } /** *

* The outbound header. *

* * @param outboundHeader * The outbound header. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withOutboundHeader(AnalysisPacketHeader outboundHeader) { setOutboundHeader(outboundHeader); return this; } /** *

* The inbound header. *

* * @param inboundHeader * The inbound header. */ public void setInboundHeader(AnalysisPacketHeader inboundHeader) { this.inboundHeader = inboundHeader; } /** *

* The inbound header. *

* * @return The inbound header. */ public AnalysisPacketHeader getInboundHeader() { return this.inboundHeader; } /** *

* The inbound header. *

* * @param inboundHeader * The inbound header. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withInboundHeader(AnalysisPacketHeader inboundHeader) { setInboundHeader(inboundHeader); return this; } /** *

* The route table route. *

* * @param routeTableRoute * The route table route. */ public void setRouteTableRoute(AnalysisRouteTableRoute routeTableRoute) { this.routeTableRoute = routeTableRoute; } /** *

* The route table route. *

* * @return The route table route. */ public AnalysisRouteTableRoute getRouteTableRoute() { return this.routeTableRoute; } /** *

* The route table route. *

* * @param routeTableRoute * The route table route. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withRouteTableRoute(AnalysisRouteTableRoute routeTableRoute) { setRouteTableRoute(routeTableRoute); return this; } /** *

* The security group rule. *

* * @param securityGroupRule * The security group rule. */ public void setSecurityGroupRule(AnalysisSecurityGroupRule securityGroupRule) { this.securityGroupRule = securityGroupRule; } /** *

* The security group rule. *

* * @return The security group rule. */ public AnalysisSecurityGroupRule getSecurityGroupRule() { return this.securityGroupRule; } /** *

* The security group rule. *

* * @param securityGroupRule * The security group rule. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withSecurityGroupRule(AnalysisSecurityGroupRule securityGroupRule) { setSecurityGroupRule(securityGroupRule); return this; } /** *

* The source VPC. *

* * @param sourceVpc * The source VPC. */ public void setSourceVpc(AnalysisComponent sourceVpc) { this.sourceVpc = sourceVpc; } /** *

* The source VPC. *

* * @return The source VPC. */ public AnalysisComponent getSourceVpc() { return this.sourceVpc; } /** *

* The source VPC. *

* * @param sourceVpc * The source VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withSourceVpc(AnalysisComponent sourceVpc) { setSourceVpc(sourceVpc); return this; } /** *

* The subnet. *

* * @param subnet * The subnet. */ public void setSubnet(AnalysisComponent subnet) { this.subnet = subnet; } /** *

* The subnet. *

* * @return The subnet. */ public AnalysisComponent getSubnet() { return this.subnet; } /** *

* The subnet. *

* * @param subnet * The subnet. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withSubnet(AnalysisComponent subnet) { setSubnet(subnet); return this; } /** *

* The component VPC. *

* * @param vpc * The component VPC. */ public void setVpc(AnalysisComponent vpc) { this.vpc = vpc; } /** *

* The component VPC. *

* * @return The component VPC. */ public AnalysisComponent getVpc() { return this.vpc; } /** *

* The component VPC. *

* * @param vpc * The component VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withVpc(AnalysisComponent vpc) { setVpc(vpc); return this; } /** *

* The additional details. *

* * @return The additional details. */ public java.util.List getAdditionalDetails() { if (additionalDetails == null) { additionalDetails = new com.amazonaws.internal.SdkInternalList(); } return additionalDetails; } /** *

* The additional details. *

* * @param additionalDetails * The additional details. */ public void setAdditionalDetails(java.util.Collection additionalDetails) { if (additionalDetails == null) { this.additionalDetails = null; return; } this.additionalDetails = new com.amazonaws.internal.SdkInternalList(additionalDetails); } /** *

* The additional details. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdditionalDetails(java.util.Collection)} or {@link #withAdditionalDetails(java.util.Collection)} if * you want to override the existing values. *

* * @param additionalDetails * The additional details. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withAdditionalDetails(AdditionalDetail... additionalDetails) { if (this.additionalDetails == null) { setAdditionalDetails(new com.amazonaws.internal.SdkInternalList(additionalDetails.length)); } for (AdditionalDetail ele : additionalDetails) { this.additionalDetails.add(ele); } return this; } /** *

* The additional details. *

* * @param additionalDetails * The additional details. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withAdditionalDetails(java.util.Collection additionalDetails) { setAdditionalDetails(additionalDetails); return this; } /** *

* The transit gateway. *

* * @param transitGateway * The transit gateway. */ public void setTransitGateway(AnalysisComponent transitGateway) { this.transitGateway = transitGateway; } /** *

* The transit gateway. *

* * @return The transit gateway. */ public AnalysisComponent getTransitGateway() { return this.transitGateway; } /** *

* The transit gateway. *

* * @param transitGateway * The transit gateway. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withTransitGateway(AnalysisComponent transitGateway) { setTransitGateway(transitGateway); return this; } /** *

* The route in a transit gateway route table. *

* * @param transitGatewayRouteTableRoute * The route in a transit gateway route table. */ public void setTransitGatewayRouteTableRoute(TransitGatewayRouteTableRoute transitGatewayRouteTableRoute) { this.transitGatewayRouteTableRoute = transitGatewayRouteTableRoute; } /** *

* The route in a transit gateway route table. *

* * @return The route in a transit gateway route table. */ public TransitGatewayRouteTableRoute getTransitGatewayRouteTableRoute() { return this.transitGatewayRouteTableRoute; } /** *

* The route in a transit gateway route table. *

* * @param transitGatewayRouteTableRoute * The route in a transit gateway route table. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withTransitGatewayRouteTableRoute(TransitGatewayRouteTableRoute transitGatewayRouteTableRoute) { setTransitGatewayRouteTableRoute(transitGatewayRouteTableRoute); return this; } /** *

* The explanation codes. *

* * @return The explanation codes. */ public java.util.List getExplanations() { if (explanations == null) { explanations = new com.amazonaws.internal.SdkInternalList(); } return explanations; } /** *

* The explanation codes. *

* * @param explanations * The explanation codes. */ public void setExplanations(java.util.Collection explanations) { if (explanations == null) { this.explanations = null; return; } this.explanations = new com.amazonaws.internal.SdkInternalList(explanations); } /** *

* The explanation codes. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setExplanations(java.util.Collection)} or {@link #withExplanations(java.util.Collection)} if you want to * override the existing values. *

* * @param explanations * The explanation codes. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withExplanations(Explanation... explanations) { if (this.explanations == null) { setExplanations(new com.amazonaws.internal.SdkInternalList(explanations.length)); } for (Explanation ele : explanations) { this.explanations.add(ele); } return this; } /** *

* The explanation codes. *

* * @param explanations * The explanation codes. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withExplanations(java.util.Collection explanations) { setExplanations(explanations); return this; } /** *

* The load balancer listener. *

* * @param elasticLoadBalancerListener * The load balancer listener. */ public void setElasticLoadBalancerListener(AnalysisComponent elasticLoadBalancerListener) { this.elasticLoadBalancerListener = elasticLoadBalancerListener; } /** *

* The load balancer listener. *

* * @return The load balancer listener. */ public AnalysisComponent getElasticLoadBalancerListener() { return this.elasticLoadBalancerListener; } /** *

* The load balancer listener. *

* * @param elasticLoadBalancerListener * The load balancer listener. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withElasticLoadBalancerListener(AnalysisComponent elasticLoadBalancerListener) { setElasticLoadBalancerListener(elasticLoadBalancerListener); return this; } /** *

* The Network Firewall stateless rule. *

* * @param firewallStatelessRule * The Network Firewall stateless rule. */ public void setFirewallStatelessRule(FirewallStatelessRule firewallStatelessRule) { this.firewallStatelessRule = firewallStatelessRule; } /** *

* The Network Firewall stateless rule. *

* * @return The Network Firewall stateless rule. */ public FirewallStatelessRule getFirewallStatelessRule() { return this.firewallStatelessRule; } /** *

* The Network Firewall stateless rule. *

* * @param firewallStatelessRule * The Network Firewall stateless rule. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withFirewallStatelessRule(FirewallStatelessRule firewallStatelessRule) { setFirewallStatelessRule(firewallStatelessRule); return this; } /** *

* The Network Firewall stateful rule. *

* * @param firewallStatefulRule * The Network Firewall stateful rule. */ public void setFirewallStatefulRule(FirewallStatefulRule firewallStatefulRule) { this.firewallStatefulRule = firewallStatefulRule; } /** *

* The Network Firewall stateful rule. *

* * @return The Network Firewall stateful rule. */ public FirewallStatefulRule getFirewallStatefulRule() { return this.firewallStatefulRule; } /** *

* The Network Firewall stateful rule. *

* * @param firewallStatefulRule * The Network Firewall stateful rule. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withFirewallStatefulRule(FirewallStatefulRule firewallStatefulRule) { setFirewallStatefulRule(firewallStatefulRule); return this; } /** *

* The name of the VPC endpoint service. *

* * @param serviceName * The name of the VPC endpoint service. */ public void setServiceName(String serviceName) { this.serviceName = serviceName; } /** *

* The name of the VPC endpoint service. *

* * @return The name of the VPC endpoint service. */ public String getServiceName() { return this.serviceName; } /** *

* The name of the VPC endpoint service. *

* * @param serviceName * The name of the VPC endpoint service. * @return Returns a reference to this object so that method calls can be chained together. */ public PathComponent withServiceName(String serviceName) { setServiceName(serviceName); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getSequenceNumber() != null) sb.append("SequenceNumber: ").append(getSequenceNumber()).append(","); if (getAclRule() != null) sb.append("AclRule: ").append(getAclRule()).append(","); if (getAttachedTo() != null) sb.append("AttachedTo: ").append(getAttachedTo()).append(","); if (getComponent() != null) sb.append("Component: ").append(getComponent()).append(","); if (getDestinationVpc() != null) sb.append("DestinationVpc: ").append(getDestinationVpc()).append(","); if (getOutboundHeader() != null) sb.append("OutboundHeader: ").append(getOutboundHeader()).append(","); if (getInboundHeader() != null) sb.append("InboundHeader: ").append(getInboundHeader()).append(","); if (getRouteTableRoute() != null) sb.append("RouteTableRoute: ").append(getRouteTableRoute()).append(","); if (getSecurityGroupRule() != null) sb.append("SecurityGroupRule: ").append(getSecurityGroupRule()).append(","); if (getSourceVpc() != null) sb.append("SourceVpc: ").append(getSourceVpc()).append(","); if (getSubnet() != null) sb.append("Subnet: ").append(getSubnet()).append(","); if (getVpc() != null) sb.append("Vpc: ").append(getVpc()).append(","); if (getAdditionalDetails() != null) sb.append("AdditionalDetails: ").append(getAdditionalDetails()).append(","); if (getTransitGateway() != null) sb.append("TransitGateway: ").append(getTransitGateway()).append(","); if (getTransitGatewayRouteTableRoute() != null) sb.append("TransitGatewayRouteTableRoute: ").append(getTransitGatewayRouteTableRoute()).append(","); if (getExplanations() != null) sb.append("Explanations: ").append(getExplanations()).append(","); if (getElasticLoadBalancerListener() != null) sb.append("ElasticLoadBalancerListener: ").append(getElasticLoadBalancerListener()).append(","); if (getFirewallStatelessRule() != null) sb.append("FirewallStatelessRule: ").append(getFirewallStatelessRule()).append(","); if (getFirewallStatefulRule() != null) sb.append("FirewallStatefulRule: ").append(getFirewallStatefulRule()).append(","); if (getServiceName() != null) sb.append("ServiceName: ").append(getServiceName()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PathComponent == false) return false; PathComponent other = (PathComponent) obj; if (other.getSequenceNumber() == null ^ this.getSequenceNumber() == null) return false; if (other.getSequenceNumber() != null && other.getSequenceNumber().equals(this.getSequenceNumber()) == false) return false; if (other.getAclRule() == null ^ this.getAclRule() == null) return false; if (other.getAclRule() != null && other.getAclRule().equals(this.getAclRule()) == false) return false; if (other.getAttachedTo() == null ^ this.getAttachedTo() == null) return false; if (other.getAttachedTo() != null && other.getAttachedTo().equals(this.getAttachedTo()) == false) return false; if (other.getComponent() == null ^ this.getComponent() == null) return false; if (other.getComponent() != null && other.getComponent().equals(this.getComponent()) == false) return false; if (other.getDestinationVpc() == null ^ this.getDestinationVpc() == null) return false; if (other.getDestinationVpc() != null && other.getDestinationVpc().equals(this.getDestinationVpc()) == false) return false; if (other.getOutboundHeader() == null ^ this.getOutboundHeader() == null) return false; if (other.getOutboundHeader() != null && other.getOutboundHeader().equals(this.getOutboundHeader()) == false) return false; if (other.getInboundHeader() == null ^ this.getInboundHeader() == null) return false; if (other.getInboundHeader() != null && other.getInboundHeader().equals(this.getInboundHeader()) == false) return false; if (other.getRouteTableRoute() == null ^ this.getRouteTableRoute() == null) return false; if (other.getRouteTableRoute() != null && other.getRouteTableRoute().equals(this.getRouteTableRoute()) == false) return false; if (other.getSecurityGroupRule() == null ^ this.getSecurityGroupRule() == null) return false; if (other.getSecurityGroupRule() != null && other.getSecurityGroupRule().equals(this.getSecurityGroupRule()) == false) return false; if (other.getSourceVpc() == null ^ this.getSourceVpc() == null) return false; if (other.getSourceVpc() != null && other.getSourceVpc().equals(this.getSourceVpc()) == false) return false; if (other.getSubnet() == null ^ this.getSubnet() == null) return false; if (other.getSubnet() != null && other.getSubnet().equals(this.getSubnet()) == false) return false; if (other.getVpc() == null ^ this.getVpc() == null) return false; if (other.getVpc() != null && other.getVpc().equals(this.getVpc()) == false) return false; if (other.getAdditionalDetails() == null ^ this.getAdditionalDetails() == null) return false; if (other.getAdditionalDetails() != null && other.getAdditionalDetails().equals(this.getAdditionalDetails()) == false) return false; if (other.getTransitGateway() == null ^ this.getTransitGateway() == null) return false; if (other.getTransitGateway() != null && other.getTransitGateway().equals(this.getTransitGateway()) == false) return false; if (other.getTransitGatewayRouteTableRoute() == null ^ this.getTransitGatewayRouteTableRoute() == null) return false; if (other.getTransitGatewayRouteTableRoute() != null && other.getTransitGatewayRouteTableRoute().equals(this.getTransitGatewayRouteTableRoute()) == false) return false; if (other.getExplanations() == null ^ this.getExplanations() == null) return false; if (other.getExplanations() != null && other.getExplanations().equals(this.getExplanations()) == false) return false; if (other.getElasticLoadBalancerListener() == null ^ this.getElasticLoadBalancerListener() == null) return false; if (other.getElasticLoadBalancerListener() != null && other.getElasticLoadBalancerListener().equals(this.getElasticLoadBalancerListener()) == false) return false; if (other.getFirewallStatelessRule() == null ^ this.getFirewallStatelessRule() == null) return false; if (other.getFirewallStatelessRule() != null && other.getFirewallStatelessRule().equals(this.getFirewallStatelessRule()) == false) return false; if (other.getFirewallStatefulRule() == null ^ this.getFirewallStatefulRule() == null) return false; if (other.getFirewallStatefulRule() != null && other.getFirewallStatefulRule().equals(this.getFirewallStatefulRule()) == false) return false; if (other.getServiceName() == null ^ this.getServiceName() == null) return false; if (other.getServiceName() != null && other.getServiceName().equals(this.getServiceName()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSequenceNumber() == null) ? 0 : getSequenceNumber().hashCode()); hashCode = prime * hashCode + ((getAclRule() == null) ? 0 : getAclRule().hashCode()); hashCode = prime * hashCode + ((getAttachedTo() == null) ? 0 : getAttachedTo().hashCode()); hashCode = prime * hashCode + ((getComponent() == null) ? 0 : getComponent().hashCode()); hashCode = prime * hashCode + ((getDestinationVpc() == null) ? 0 : getDestinationVpc().hashCode()); hashCode = prime * hashCode + ((getOutboundHeader() == null) ? 0 : getOutboundHeader().hashCode()); hashCode = prime * hashCode + ((getInboundHeader() == null) ? 0 : getInboundHeader().hashCode()); hashCode = prime * hashCode + ((getRouteTableRoute() == null) ? 0 : getRouteTableRoute().hashCode()); hashCode = prime * hashCode + ((getSecurityGroupRule() == null) ? 0 : getSecurityGroupRule().hashCode()); hashCode = prime * hashCode + ((getSourceVpc() == null) ? 0 : getSourceVpc().hashCode()); hashCode = prime * hashCode + ((getSubnet() == null) ? 0 : getSubnet().hashCode()); hashCode = prime * hashCode + ((getVpc() == null) ? 0 : getVpc().hashCode()); hashCode = prime * hashCode + ((getAdditionalDetails() == null) ? 0 : getAdditionalDetails().hashCode()); hashCode = prime * hashCode + ((getTransitGateway() == null) ? 0 : getTransitGateway().hashCode()); hashCode = prime * hashCode + ((getTransitGatewayRouteTableRoute() == null) ? 0 : getTransitGatewayRouteTableRoute().hashCode()); hashCode = prime * hashCode + ((getExplanations() == null) ? 0 : getExplanations().hashCode()); hashCode = prime * hashCode + ((getElasticLoadBalancerListener() == null) ? 0 : getElasticLoadBalancerListener().hashCode()); hashCode = prime * hashCode + ((getFirewallStatelessRule() == null) ? 0 : getFirewallStatelessRule().hashCode()); hashCode = prime * hashCode + ((getFirewallStatefulRule() == null) ? 0 : getFirewallStatefulRule().hashCode()); hashCode = prime * hashCode + ((getServiceName() == null) ? 0 : getServiceName().hashCode()); return hashCode; } @Override public PathComponent clone() { try { return (PathComponent) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy