/* * 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.fms.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Violation detail for the subnet for which internet traffic that hasn't been inspected. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class NetworkFirewallInternetTrafficNotInspectedViolation implements Serializable, Cloneable, StructuredPojo { /** ** The subnet ID. *
*/ private String subnetId; /** ** The subnet Availability Zone. *
*/ private String subnetAvailabilityZone; /** ** Information about the route table ID. *
*/ private String routeTableId; /** ** The route or routes that are in violation. *
*/ private java.util.List* Information about whether the route table is used in another Availability Zone. *
*/ private Boolean isRouteTableUsedInDifferentAZ; /** ** Information about the subnet route table for the current firewall. *
*/ private String currentFirewallSubnetRouteTable; /** ** The expected endpoint for the current firewall. *
*/ private String expectedFirewallEndpoint; /** ** The firewall subnet ID. *
*/ private String firewallSubnetId; /** ** The firewall subnet routes that are expected. *
*/ private java.util.List* The actual firewall subnet routes. *
*/ private java.util.List* The internet gateway ID. *
*/ private String internetGatewayId; /** ** The current route table for the internet gateway. *
*/ private String currentInternetGatewayRouteTable; /** ** The internet gateway routes that are expected. *
*/ private java.util.List* The actual internet gateway routes. *
*/ private java.util.List* Information about the VPC ID. *
*/ private String vpcId; /** ** The subnet ID. *
* * @param subnetId * The subnet ID. */ public void setSubnetId(String subnetId) { this.subnetId = subnetId; } /** ** The subnet ID. *
* * @return The subnet ID. */ public String getSubnetId() { return this.subnetId; } /** ** The subnet ID. *
* * @param subnetId * The subnet ID. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withSubnetId(String subnetId) { setSubnetId(subnetId); return this; } /** ** The subnet Availability Zone. *
* * @param subnetAvailabilityZone * The subnet Availability Zone. */ public void setSubnetAvailabilityZone(String subnetAvailabilityZone) { this.subnetAvailabilityZone = subnetAvailabilityZone; } /** ** The subnet Availability Zone. *
* * @return The subnet Availability Zone. */ public String getSubnetAvailabilityZone() { return this.subnetAvailabilityZone; } /** ** The subnet Availability Zone. *
* * @param subnetAvailabilityZone * The subnet Availability Zone. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withSubnetAvailabilityZone(String subnetAvailabilityZone) { setSubnetAvailabilityZone(subnetAvailabilityZone); return this; } /** ** Information about the route table ID. *
* * @param routeTableId * Information about the route table ID. */ public void setRouteTableId(String routeTableId) { this.routeTableId = routeTableId; } /** ** Information about the route table ID. *
* * @return Information about the route table ID. */ public String getRouteTableId() { return this.routeTableId; } /** ** Information about the route table ID. *
* * @param routeTableId * Information about the route table ID. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withRouteTableId(String routeTableId) { setRouteTableId(routeTableId); return this; } /** ** The route or routes that are in violation. *
* * @return The route or routes that are in violation. */ public java.util.List* The route or routes that are in violation. *
* * @param violatingRoutes * The route or routes that are in violation. */ public void setViolatingRoutes(java.util.Collection* The route or routes that are in violation. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setViolatingRoutes(java.util.Collection)} or {@link #withViolatingRoutes(java.util.Collection)} if you * want to override the existing values. *
* * @param violatingRoutes * The route or routes that are in violation. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withViolatingRoutes(Route... violatingRoutes) { if (this.violatingRoutes == null) { setViolatingRoutes(new java.util.ArrayList* The route or routes that are in violation. *
* * @param violatingRoutes * The route or routes that are in violation. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withViolatingRoutes(java.util.Collection* Information about whether the route table is used in another Availability Zone. *
* * @param isRouteTableUsedInDifferentAZ * Information about whether the route table is used in another Availability Zone. */ public void setIsRouteTableUsedInDifferentAZ(Boolean isRouteTableUsedInDifferentAZ) { this.isRouteTableUsedInDifferentAZ = isRouteTableUsedInDifferentAZ; } /** ** Information about whether the route table is used in another Availability Zone. *
* * @return Information about whether the route table is used in another Availability Zone. */ public Boolean getIsRouteTableUsedInDifferentAZ() { return this.isRouteTableUsedInDifferentAZ; } /** ** Information about whether the route table is used in another Availability Zone. *
* * @param isRouteTableUsedInDifferentAZ * Information about whether the route table is used in another Availability Zone. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withIsRouteTableUsedInDifferentAZ(Boolean isRouteTableUsedInDifferentAZ) { setIsRouteTableUsedInDifferentAZ(isRouteTableUsedInDifferentAZ); return this; } /** ** Information about whether the route table is used in another Availability Zone. *
* * @return Information about whether the route table is used in another Availability Zone. */ public Boolean isRouteTableUsedInDifferentAZ() { return this.isRouteTableUsedInDifferentAZ; } /** ** Information about the subnet route table for the current firewall. *
* * @param currentFirewallSubnetRouteTable * Information about the subnet route table for the current firewall. */ public void setCurrentFirewallSubnetRouteTable(String currentFirewallSubnetRouteTable) { this.currentFirewallSubnetRouteTable = currentFirewallSubnetRouteTable; } /** ** Information about the subnet route table for the current firewall. *
* * @return Information about the subnet route table for the current firewall. */ public String getCurrentFirewallSubnetRouteTable() { return this.currentFirewallSubnetRouteTable; } /** ** Information about the subnet route table for the current firewall. *
* * @param currentFirewallSubnetRouteTable * Information about the subnet route table for the current firewall. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withCurrentFirewallSubnetRouteTable(String currentFirewallSubnetRouteTable) { setCurrentFirewallSubnetRouteTable(currentFirewallSubnetRouteTable); return this; } /** ** The expected endpoint for the current firewall. *
* * @param expectedFirewallEndpoint * The expected endpoint for the current firewall. */ public void setExpectedFirewallEndpoint(String expectedFirewallEndpoint) { this.expectedFirewallEndpoint = expectedFirewallEndpoint; } /** ** The expected endpoint for the current firewall. *
* * @return The expected endpoint for the current firewall. */ public String getExpectedFirewallEndpoint() { return this.expectedFirewallEndpoint; } /** ** The expected endpoint for the current firewall. *
* * @param expectedFirewallEndpoint * The expected endpoint for the current firewall. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withExpectedFirewallEndpoint(String expectedFirewallEndpoint) { setExpectedFirewallEndpoint(expectedFirewallEndpoint); return this; } /** ** The firewall subnet ID. *
* * @param firewallSubnetId * The firewall subnet ID. */ public void setFirewallSubnetId(String firewallSubnetId) { this.firewallSubnetId = firewallSubnetId; } /** ** The firewall subnet ID. *
* * @return The firewall subnet ID. */ public String getFirewallSubnetId() { return this.firewallSubnetId; } /** ** The firewall subnet ID. *
* * @param firewallSubnetId * The firewall subnet ID. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withFirewallSubnetId(String firewallSubnetId) { setFirewallSubnetId(firewallSubnetId); return this; } /** ** The firewall subnet routes that are expected. *
* * @return The firewall subnet routes that are expected. */ public java.util.List* The firewall subnet routes that are expected. *
* * @param expectedFirewallSubnetRoutes * The firewall subnet routes that are expected. */ public void setExpectedFirewallSubnetRoutes(java.util.Collection* The firewall subnet routes that are expected. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setExpectedFirewallSubnetRoutes(java.util.Collection)} or * {@link #withExpectedFirewallSubnetRoutes(java.util.Collection)} if you want to override the existing values. *
* * @param expectedFirewallSubnetRoutes * The firewall subnet routes that are expected. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withExpectedFirewallSubnetRoutes(ExpectedRoute... expectedFirewallSubnetRoutes) { if (this.expectedFirewallSubnetRoutes == null) { setExpectedFirewallSubnetRoutes(new java.util.ArrayList* The firewall subnet routes that are expected. *
* * @param expectedFirewallSubnetRoutes * The firewall subnet routes that are expected. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withExpectedFirewallSubnetRoutes(java.util.Collection* The actual firewall subnet routes. *
* * @return The actual firewall subnet routes. */ public java.util.List* The actual firewall subnet routes. *
* * @param actualFirewallSubnetRoutes * The actual firewall subnet routes. */ public void setActualFirewallSubnetRoutes(java.util.Collection* The actual firewall subnet routes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setActualFirewallSubnetRoutes(java.util.Collection)} or * {@link #withActualFirewallSubnetRoutes(java.util.Collection)} if you want to override the existing values. *
* * @param actualFirewallSubnetRoutes * The actual firewall subnet routes. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withActualFirewallSubnetRoutes(Route... actualFirewallSubnetRoutes) { if (this.actualFirewallSubnetRoutes == null) { setActualFirewallSubnetRoutes(new java.util.ArrayList* The actual firewall subnet routes. *
* * @param actualFirewallSubnetRoutes * The actual firewall subnet routes. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withActualFirewallSubnetRoutes(java.util.Collection* The internet gateway ID. *
* * @param internetGatewayId * The internet gateway ID. */ public void setInternetGatewayId(String internetGatewayId) { this.internetGatewayId = internetGatewayId; } /** ** The internet gateway ID. *
* * @return The internet gateway ID. */ public String getInternetGatewayId() { return this.internetGatewayId; } /** ** The internet gateway ID. *
* * @param internetGatewayId * The internet gateway ID. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withInternetGatewayId(String internetGatewayId) { setInternetGatewayId(internetGatewayId); return this; } /** ** The current route table for the internet gateway. *
* * @param currentInternetGatewayRouteTable * The current route table for the internet gateway. */ public void setCurrentInternetGatewayRouteTable(String currentInternetGatewayRouteTable) { this.currentInternetGatewayRouteTable = currentInternetGatewayRouteTable; } /** ** The current route table for the internet gateway. *
* * @return The current route table for the internet gateway. */ public String getCurrentInternetGatewayRouteTable() { return this.currentInternetGatewayRouteTable; } /** ** The current route table for the internet gateway. *
* * @param currentInternetGatewayRouteTable * The current route table for the internet gateway. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withCurrentInternetGatewayRouteTable(String currentInternetGatewayRouteTable) { setCurrentInternetGatewayRouteTable(currentInternetGatewayRouteTable); return this; } /** ** The internet gateway routes that are expected. *
* * @return The internet gateway routes that are expected. */ public java.util.List* The internet gateway routes that are expected. *
* * @param expectedInternetGatewayRoutes * The internet gateway routes that are expected. */ public void setExpectedInternetGatewayRoutes(java.util.Collection* The internet gateway routes that are expected. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setExpectedInternetGatewayRoutes(java.util.Collection)} or * {@link #withExpectedInternetGatewayRoutes(java.util.Collection)} if you want to override the existing values. *
* * @param expectedInternetGatewayRoutes * The internet gateway routes that are expected. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withExpectedInternetGatewayRoutes(ExpectedRoute... expectedInternetGatewayRoutes) { if (this.expectedInternetGatewayRoutes == null) { setExpectedInternetGatewayRoutes(new java.util.ArrayList* The internet gateway routes that are expected. *
* * @param expectedInternetGatewayRoutes * The internet gateway routes that are expected. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withExpectedInternetGatewayRoutes( java.util.Collection* The actual internet gateway routes. *
* * @return The actual internet gateway routes. */ public java.util.List* The actual internet gateway routes. *
* * @param actualInternetGatewayRoutes * The actual internet gateway routes. */ public void setActualInternetGatewayRoutes(java.util.Collection* The actual internet gateway routes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setActualInternetGatewayRoutes(java.util.Collection)} or * {@link #withActualInternetGatewayRoutes(java.util.Collection)} if you want to override the existing values. *
* * @param actualInternetGatewayRoutes * The actual internet gateway routes. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withActualInternetGatewayRoutes(Route... actualInternetGatewayRoutes) { if (this.actualInternetGatewayRoutes == null) { setActualInternetGatewayRoutes(new java.util.ArrayList* The actual internet gateway routes. *
* * @param actualInternetGatewayRoutes * The actual internet gateway routes. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withActualInternetGatewayRoutes(java.util.Collection* Information about the VPC ID. *
* * @param vpcId * Information about the VPC ID. */ public void setVpcId(String vpcId) { this.vpcId = vpcId; } /** ** Information about the VPC ID. *
* * @return Information about the VPC ID. */ public String getVpcId() { return this.vpcId; } /** ** Information about the VPC ID. *
* * @param vpcId * Information about the VPC ID. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkFirewallInternetTrafficNotInspectedViolation withVpcId(String vpcId) { setVpcId(vpcId); 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 (getSubnetId() != null) sb.append("SubnetId: ").append(getSubnetId()).append(","); if (getSubnetAvailabilityZone() != null) sb.append("SubnetAvailabilityZone: ").append(getSubnetAvailabilityZone()).append(","); if (getRouteTableId() != null) sb.append("RouteTableId: ").append(getRouteTableId()).append(","); if (getViolatingRoutes() != null) sb.append("ViolatingRoutes: ").append(getViolatingRoutes()).append(","); if (getIsRouteTableUsedInDifferentAZ() != null) sb.append("IsRouteTableUsedInDifferentAZ: ").append(getIsRouteTableUsedInDifferentAZ()).append(","); if (getCurrentFirewallSubnetRouteTable() != null) sb.append("CurrentFirewallSubnetRouteTable: ").append(getCurrentFirewallSubnetRouteTable()).append(","); if (getExpectedFirewallEndpoint() != null) sb.append("ExpectedFirewallEndpoint: ").append(getExpectedFirewallEndpoint()).append(","); if (getFirewallSubnetId() != null) sb.append("FirewallSubnetId: ").append(getFirewallSubnetId()).append(","); if (getExpectedFirewallSubnetRoutes() != null) sb.append("ExpectedFirewallSubnetRoutes: ").append(getExpectedFirewallSubnetRoutes()).append(","); if (getActualFirewallSubnetRoutes() != null) sb.append("ActualFirewallSubnetRoutes: ").append(getActualFirewallSubnetRoutes()).append(","); if (getInternetGatewayId() != null) sb.append("InternetGatewayId: ").append(getInternetGatewayId()).append(","); if (getCurrentInternetGatewayRouteTable() != null) sb.append("CurrentInternetGatewayRouteTable: ").append(getCurrentInternetGatewayRouteTable()).append(","); if (getExpectedInternetGatewayRoutes() != null) sb.append("ExpectedInternetGatewayRoutes: ").append(getExpectedInternetGatewayRoutes()).append(","); if (getActualInternetGatewayRoutes() != null) sb.append("ActualInternetGatewayRoutes: ").append(getActualInternetGatewayRoutes()).append(","); if (getVpcId() != null) sb.append("VpcId: ").append(getVpcId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof NetworkFirewallInternetTrafficNotInspectedViolation == false) return false; NetworkFirewallInternetTrafficNotInspectedViolation other = (NetworkFirewallInternetTrafficNotInspectedViolation) obj; if (other.getSubnetId() == null ^ this.getSubnetId() == null) return false; if (other.getSubnetId() != null && other.getSubnetId().equals(this.getSubnetId()) == false) return false; if (other.getSubnetAvailabilityZone() == null ^ this.getSubnetAvailabilityZone() == null) return false; if (other.getSubnetAvailabilityZone() != null && other.getSubnetAvailabilityZone().equals(this.getSubnetAvailabilityZone()) == false) return false; if (other.getRouteTableId() == null ^ this.getRouteTableId() == null) return false; if (other.getRouteTableId() != null && other.getRouteTableId().equals(this.getRouteTableId()) == false) return false; if (other.getViolatingRoutes() == null ^ this.getViolatingRoutes() == null) return false; if (other.getViolatingRoutes() != null && other.getViolatingRoutes().equals(this.getViolatingRoutes()) == false) return false; if (other.getIsRouteTableUsedInDifferentAZ() == null ^ this.getIsRouteTableUsedInDifferentAZ() == null) return false; if (other.getIsRouteTableUsedInDifferentAZ() != null && other.getIsRouteTableUsedInDifferentAZ().equals(this.getIsRouteTableUsedInDifferentAZ()) == false) return false; if (other.getCurrentFirewallSubnetRouteTable() == null ^ this.getCurrentFirewallSubnetRouteTable() == null) return false; if (other.getCurrentFirewallSubnetRouteTable() != null && other.getCurrentFirewallSubnetRouteTable().equals(this.getCurrentFirewallSubnetRouteTable()) == false) return false; if (other.getExpectedFirewallEndpoint() == null ^ this.getExpectedFirewallEndpoint() == null) return false; if (other.getExpectedFirewallEndpoint() != null && other.getExpectedFirewallEndpoint().equals(this.getExpectedFirewallEndpoint()) == false) return false; if (other.getFirewallSubnetId() == null ^ this.getFirewallSubnetId() == null) return false; if (other.getFirewallSubnetId() != null && other.getFirewallSubnetId().equals(this.getFirewallSubnetId()) == false) return false; if (other.getExpectedFirewallSubnetRoutes() == null ^ this.getExpectedFirewallSubnetRoutes() == null) return false; if (other.getExpectedFirewallSubnetRoutes() != null && other.getExpectedFirewallSubnetRoutes().equals(this.getExpectedFirewallSubnetRoutes()) == false) return false; if (other.getActualFirewallSubnetRoutes() == null ^ this.getActualFirewallSubnetRoutes() == null) return false; if (other.getActualFirewallSubnetRoutes() != null && other.getActualFirewallSubnetRoutes().equals(this.getActualFirewallSubnetRoutes()) == false) return false; if (other.getInternetGatewayId() == null ^ this.getInternetGatewayId() == null) return false; if (other.getInternetGatewayId() != null && other.getInternetGatewayId().equals(this.getInternetGatewayId()) == false) return false; if (other.getCurrentInternetGatewayRouteTable() == null ^ this.getCurrentInternetGatewayRouteTable() == null) return false; if (other.getCurrentInternetGatewayRouteTable() != null && other.getCurrentInternetGatewayRouteTable().equals(this.getCurrentInternetGatewayRouteTable()) == false) return false; if (other.getExpectedInternetGatewayRoutes() == null ^ this.getExpectedInternetGatewayRoutes() == null) return false; if (other.getExpectedInternetGatewayRoutes() != null && other.getExpectedInternetGatewayRoutes().equals(this.getExpectedInternetGatewayRoutes()) == false) return false; if (other.getActualInternetGatewayRoutes() == null ^ this.getActualInternetGatewayRoutes() == null) return false; if (other.getActualInternetGatewayRoutes() != null && other.getActualInternetGatewayRoutes().equals(this.getActualInternetGatewayRoutes()) == false) return false; if (other.getVpcId() == null ^ this.getVpcId() == null) return false; if (other.getVpcId() != null && other.getVpcId().equals(this.getVpcId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSubnetId() == null) ? 0 : getSubnetId().hashCode()); hashCode = prime * hashCode + ((getSubnetAvailabilityZone() == null) ? 0 : getSubnetAvailabilityZone().hashCode()); hashCode = prime * hashCode + ((getRouteTableId() == null) ? 0 : getRouteTableId().hashCode()); hashCode = prime * hashCode + ((getViolatingRoutes() == null) ? 0 : getViolatingRoutes().hashCode()); hashCode = prime * hashCode + ((getIsRouteTableUsedInDifferentAZ() == null) ? 0 : getIsRouteTableUsedInDifferentAZ().hashCode()); hashCode = prime * hashCode + ((getCurrentFirewallSubnetRouteTable() == null) ? 0 : getCurrentFirewallSubnetRouteTable().hashCode()); hashCode = prime * hashCode + ((getExpectedFirewallEndpoint() == null) ? 0 : getExpectedFirewallEndpoint().hashCode()); hashCode = prime * hashCode + ((getFirewallSubnetId() == null) ? 0 : getFirewallSubnetId().hashCode()); hashCode = prime * hashCode + ((getExpectedFirewallSubnetRoutes() == null) ? 0 : getExpectedFirewallSubnetRoutes().hashCode()); hashCode = prime * hashCode + ((getActualFirewallSubnetRoutes() == null) ? 0 : getActualFirewallSubnetRoutes().hashCode()); hashCode = prime * hashCode + ((getInternetGatewayId() == null) ? 0 : getInternetGatewayId().hashCode()); hashCode = prime * hashCode + ((getCurrentInternetGatewayRouteTable() == null) ? 0 : getCurrentInternetGatewayRouteTable().hashCode()); hashCode = prime * hashCode + ((getExpectedInternetGatewayRoutes() == null) ? 0 : getExpectedInternetGatewayRoutes().hashCode()); hashCode = prime * hashCode + ((getActualInternetGatewayRoutes() == null) ? 0 : getActualInternetGatewayRoutes().hashCode()); hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode()); return hashCode; } @Override public NetworkFirewallInternetTrafficNotInspectedViolation clone() { try { return (NetworkFirewallInternetTrafficNotInspectedViolation) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.fms.model.transform.NetworkFirewallInternetTrafficNotInspectedViolationMarshaller.getInstance().marshall(this, protocolMarshaller); } }