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

com.amazonaws.services.ec2.model.Ipam 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 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.ec2.model;

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

/**
 * 

* IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, * tracking, troubleshooting, and auditing IP addresses across Amazon Web Services Regions and accounts throughout your * Amazon Web Services Organization. For more information, see What is IPAM? in the Amazon VPC IPAM * User Guide. *

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

* The Amazon Web Services account ID of the owner of the IPAM. *

*/ private String ownerId; /** *

* The ID of the IPAM. *

*/ private String ipamId; /** *

* The Amazon Resource Name (ARN) of the IPAM. *

*/ private String ipamArn; /** *

* The Amazon Web Services Region of the IPAM. *

*/ private String ipamRegion; /** *

* The ID of the IPAM's default public scope. *

*/ private String publicDefaultScopeId; /** *

* The ID of the IPAM's default private scope. *

*/ private String privateDefaultScopeId; /** *

* The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon VPC IPAM * User Guide. *

*/ private Integer scopeCount; /** *

* The description for the IPAM. *

*/ private String description; /** *

* The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to * manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select * as operating Regions. *

*

* For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM * User Guide. *

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

* The state of the IPAM. *

*/ private String state; /** *

* The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value * as the filter value. For example, to find all resources that have a tag with the key Owner and the * value TeamA, specify tag:Owner for the filter name and TeamA for the * filter value. *

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

* The IPAM's default resource discovery ID. *

*/ private String defaultResourceDiscoveryId; /** *

* The IPAM's default resource discovery association ID. *

*/ private String defaultResourceDiscoveryAssociationId; /** *

* The IPAM's resource discovery association count. *

*/ private Integer resourceDiscoveryAssociationCount; /** *

* The Amazon Web Services account ID of the owner of the IPAM. *

* * @param ownerId * The Amazon Web Services account ID of the owner of the IPAM. */ public void setOwnerId(String ownerId) { this.ownerId = ownerId; } /** *

* The Amazon Web Services account ID of the owner of the IPAM. *

* * @return The Amazon Web Services account ID of the owner of the IPAM. */ public String getOwnerId() { return this.ownerId; } /** *

* The Amazon Web Services account ID of the owner of the IPAM. *

* * @param ownerId * The Amazon Web Services account ID of the owner of the IPAM. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withOwnerId(String ownerId) { setOwnerId(ownerId); return this; } /** *

* The ID of the IPAM. *

* * @param ipamId * The ID of the IPAM. */ public void setIpamId(String ipamId) { this.ipamId = ipamId; } /** *

* The ID of the IPAM. *

* * @return The ID of the IPAM. */ public String getIpamId() { return this.ipamId; } /** *

* The ID of the IPAM. *

* * @param ipamId * The ID of the IPAM. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withIpamId(String ipamId) { setIpamId(ipamId); return this; } /** *

* The Amazon Resource Name (ARN) of the IPAM. *

* * @param ipamArn * The Amazon Resource Name (ARN) of the IPAM. */ public void setIpamArn(String ipamArn) { this.ipamArn = ipamArn; } /** *

* The Amazon Resource Name (ARN) of the IPAM. *

* * @return The Amazon Resource Name (ARN) of the IPAM. */ public String getIpamArn() { return this.ipamArn; } /** *

* The Amazon Resource Name (ARN) of the IPAM. *

* * @param ipamArn * The Amazon Resource Name (ARN) of the IPAM. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withIpamArn(String ipamArn) { setIpamArn(ipamArn); return this; } /** *

* The Amazon Web Services Region of the IPAM. *

* * @param ipamRegion * The Amazon Web Services Region of the IPAM. */ public void setIpamRegion(String ipamRegion) { this.ipamRegion = ipamRegion; } /** *

* The Amazon Web Services Region of the IPAM. *

* * @return The Amazon Web Services Region of the IPAM. */ public String getIpamRegion() { return this.ipamRegion; } /** *

* The Amazon Web Services Region of the IPAM. *

* * @param ipamRegion * The Amazon Web Services Region of the IPAM. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withIpamRegion(String ipamRegion) { setIpamRegion(ipamRegion); return this; } /** *

* The ID of the IPAM's default public scope. *

* * @param publicDefaultScopeId * The ID of the IPAM's default public scope. */ public void setPublicDefaultScopeId(String publicDefaultScopeId) { this.publicDefaultScopeId = publicDefaultScopeId; } /** *

* The ID of the IPAM's default public scope. *

* * @return The ID of the IPAM's default public scope. */ public String getPublicDefaultScopeId() { return this.publicDefaultScopeId; } /** *

* The ID of the IPAM's default public scope. *

* * @param publicDefaultScopeId * The ID of the IPAM's default public scope. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withPublicDefaultScopeId(String publicDefaultScopeId) { setPublicDefaultScopeId(publicDefaultScopeId); return this; } /** *

* The ID of the IPAM's default private scope. *

* * @param privateDefaultScopeId * The ID of the IPAM's default private scope. */ public void setPrivateDefaultScopeId(String privateDefaultScopeId) { this.privateDefaultScopeId = privateDefaultScopeId; } /** *

* The ID of the IPAM's default private scope. *

* * @return The ID of the IPAM's default private scope. */ public String getPrivateDefaultScopeId() { return this.privateDefaultScopeId; } /** *

* The ID of the IPAM's default private scope. *

* * @param privateDefaultScopeId * The ID of the IPAM's default private scope. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withPrivateDefaultScopeId(String privateDefaultScopeId) { setPrivateDefaultScopeId(privateDefaultScopeId); return this; } /** *

* The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon VPC IPAM * User Guide. *

* * @param scopeCount * The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon * VPC IPAM User Guide. */ public void setScopeCount(Integer scopeCount) { this.scopeCount = scopeCount; } /** *

* The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon VPC IPAM * User Guide. *

* * @return The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon * VPC IPAM User Guide. */ public Integer getScopeCount() { return this.scopeCount; } /** *

* The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon VPC IPAM * User Guide. *

* * @param scopeCount * The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon * VPC IPAM User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withScopeCount(Integer scopeCount) { setScopeCount(scopeCount); return this; } /** *

* The description for the IPAM. *

* * @param description * The description for the IPAM. */ public void setDescription(String description) { this.description = description; } /** *

* The description for the IPAM. *

* * @return The description for the IPAM. */ public String getDescription() { return this.description; } /** *

* The description for the IPAM. *

* * @param description * The description for the IPAM. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withDescription(String description) { setDescription(description); return this; } /** *

* The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to * manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select * as operating Regions. *

*

* For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM * User Guide. *

* * @return The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is * allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services * Regions you select as operating Regions.

*

* For more information about operating Regions, see Create an IPAM in the Amazon * VPC IPAM User Guide. */ public java.util.List getOperatingRegions() { if (operatingRegions == null) { operatingRegions = new com.amazonaws.internal.SdkInternalList(); } return operatingRegions; } /** *

* The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to * manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select * as operating Regions. *

*

* For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM * User Guide. *

* * @param operatingRegions * The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is * allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services * Regions you select as operating Regions.

*

* For more information about operating Regions, see Create an IPAM in the Amazon * VPC IPAM User Guide. */ public void setOperatingRegions(java.util.Collection operatingRegions) { if (operatingRegions == null) { this.operatingRegions = null; return; } this.operatingRegions = new com.amazonaws.internal.SdkInternalList(operatingRegions); } /** *

* The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to * manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select * as operating Regions. *

*

* For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM * User Guide. *

*

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

* * @param operatingRegions * The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is * allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services * Regions you select as operating Regions.

*

* For more information about operating Regions, see Create an IPAM in the Amazon * VPC IPAM User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withOperatingRegions(IpamOperatingRegion... operatingRegions) { if (this.operatingRegions == null) { setOperatingRegions(new com.amazonaws.internal.SdkInternalList(operatingRegions.length)); } for (IpamOperatingRegion ele : operatingRegions) { this.operatingRegions.add(ele); } return this; } /** *

* The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to * manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select * as operating Regions. *

*

* For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM * User Guide. *

* * @param operatingRegions * The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is * allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services * Regions you select as operating Regions.

*

* For more information about operating Regions, see Create an IPAM in the Amazon * VPC IPAM User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withOperatingRegions(java.util.Collection operatingRegions) { setOperatingRegions(operatingRegions); return this; } /** *

* The state of the IPAM. *

* * @param state * The state of the IPAM. * @see IpamState */ public void setState(String state) { this.state = state; } /** *

* The state of the IPAM. *

* * @return The state of the IPAM. * @see IpamState */ public String getState() { return this.state; } /** *

* The state of the IPAM. *

* * @param state * The state of the IPAM. * @return Returns a reference to this object so that method calls can be chained together. * @see IpamState */ public Ipam withState(String state) { setState(state); return this; } /** *

* The state of the IPAM. *

* * @param state * The state of the IPAM. * @return Returns a reference to this object so that method calls can be chained together. * @see IpamState */ public Ipam withState(IpamState state) { this.state = state.toString(); return this; } /** *

* The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value * as the filter value. For example, to find all resources that have a tag with the key Owner and the * value TeamA, specify tag:Owner for the filter name and TeamA for the * filter value. *

* * @return The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the * tag value as the filter value. For example, to find all resources that have a tag with the key * Owner and the value TeamA, specify tag:Owner for the filter name * and TeamA for the filter value. */ public java.util.List getTags() { if (tags == null) { tags = new com.amazonaws.internal.SdkInternalList(); } return tags; } /** *

* The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value * as the filter value. For example, to find all resources that have a tag with the key Owner and the * value TeamA, specify tag:Owner for the filter name and TeamA for the * filter value. *

* * @param tags * The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the * tag value as the filter value. For example, to find all resources that have a tag with the key * Owner and the value TeamA, specify tag:Owner for the filter name * and TeamA for the filter value. */ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new com.amazonaws.internal.SdkInternalList(tags); } /** *

* The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value * as the filter value. For example, to find all resources that have a tag with the key Owner and the * value TeamA, specify tag:Owner for the filter name and TeamA for the * filter value. *

*

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

* * @param tags * The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the * tag value as the filter value. For example, to find all resources that have a tag with the key * Owner and the value TeamA, specify tag:Owner for the filter name * and TeamA for the filter value. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; } /** *

* The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value * as the filter value. For example, to find all resources that have a tag with the key Owner and the * value TeamA, specify tag:Owner for the filter name and TeamA for the * filter value. *

* * @param tags * The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the * tag value as the filter value. For example, to find all resources that have a tag with the key * Owner and the value TeamA, specify tag:Owner for the filter name * and TeamA for the filter value. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withTags(java.util.Collection tags) { setTags(tags); return this; } /** *

* The IPAM's default resource discovery ID. *

* * @param defaultResourceDiscoveryId * The IPAM's default resource discovery ID. */ public void setDefaultResourceDiscoveryId(String defaultResourceDiscoveryId) { this.defaultResourceDiscoveryId = defaultResourceDiscoveryId; } /** *

* The IPAM's default resource discovery ID. *

* * @return The IPAM's default resource discovery ID. */ public String getDefaultResourceDiscoveryId() { return this.defaultResourceDiscoveryId; } /** *

* The IPAM's default resource discovery ID. *

* * @param defaultResourceDiscoveryId * The IPAM's default resource discovery ID. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withDefaultResourceDiscoveryId(String defaultResourceDiscoveryId) { setDefaultResourceDiscoveryId(defaultResourceDiscoveryId); return this; } /** *

* The IPAM's default resource discovery association ID. *

* * @param defaultResourceDiscoveryAssociationId * The IPAM's default resource discovery association ID. */ public void setDefaultResourceDiscoveryAssociationId(String defaultResourceDiscoveryAssociationId) { this.defaultResourceDiscoveryAssociationId = defaultResourceDiscoveryAssociationId; } /** *

* The IPAM's default resource discovery association ID. *

* * @return The IPAM's default resource discovery association ID. */ public String getDefaultResourceDiscoveryAssociationId() { return this.defaultResourceDiscoveryAssociationId; } /** *

* The IPAM's default resource discovery association ID. *

* * @param defaultResourceDiscoveryAssociationId * The IPAM's default resource discovery association ID. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withDefaultResourceDiscoveryAssociationId(String defaultResourceDiscoveryAssociationId) { setDefaultResourceDiscoveryAssociationId(defaultResourceDiscoveryAssociationId); return this; } /** *

* The IPAM's resource discovery association count. *

* * @param resourceDiscoveryAssociationCount * The IPAM's resource discovery association count. */ public void setResourceDiscoveryAssociationCount(Integer resourceDiscoveryAssociationCount) { this.resourceDiscoveryAssociationCount = resourceDiscoveryAssociationCount; } /** *

* The IPAM's resource discovery association count. *

* * @return The IPAM's resource discovery association count. */ public Integer getResourceDiscoveryAssociationCount() { return this.resourceDiscoveryAssociationCount; } /** *

* The IPAM's resource discovery association count. *

* * @param resourceDiscoveryAssociationCount * The IPAM's resource discovery association count. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipam withResourceDiscoveryAssociationCount(Integer resourceDiscoveryAssociationCount) { setResourceDiscoveryAssociationCount(resourceDiscoveryAssociationCount); 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 (getOwnerId() != null) sb.append("OwnerId: ").append(getOwnerId()).append(","); if (getIpamId() != null) sb.append("IpamId: ").append(getIpamId()).append(","); if (getIpamArn() != null) sb.append("IpamArn: ").append(getIpamArn()).append(","); if (getIpamRegion() != null) sb.append("IpamRegion: ").append(getIpamRegion()).append(","); if (getPublicDefaultScopeId() != null) sb.append("PublicDefaultScopeId: ").append(getPublicDefaultScopeId()).append(","); if (getPrivateDefaultScopeId() != null) sb.append("PrivateDefaultScopeId: ").append(getPrivateDefaultScopeId()).append(","); if (getScopeCount() != null) sb.append("ScopeCount: ").append(getScopeCount()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getOperatingRegions() != null) sb.append("OperatingRegions: ").append(getOperatingRegions()).append(","); if (getState() != null) sb.append("State: ").append(getState()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getDefaultResourceDiscoveryId() != null) sb.append("DefaultResourceDiscoveryId: ").append(getDefaultResourceDiscoveryId()).append(","); if (getDefaultResourceDiscoveryAssociationId() != null) sb.append("DefaultResourceDiscoveryAssociationId: ").append(getDefaultResourceDiscoveryAssociationId()).append(","); if (getResourceDiscoveryAssociationCount() != null) sb.append("ResourceDiscoveryAssociationCount: ").append(getResourceDiscoveryAssociationCount()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Ipam == false) return false; Ipam other = (Ipam) obj; if (other.getOwnerId() == null ^ this.getOwnerId() == null) return false; if (other.getOwnerId() != null && other.getOwnerId().equals(this.getOwnerId()) == false) return false; if (other.getIpamId() == null ^ this.getIpamId() == null) return false; if (other.getIpamId() != null && other.getIpamId().equals(this.getIpamId()) == false) return false; if (other.getIpamArn() == null ^ this.getIpamArn() == null) return false; if (other.getIpamArn() != null && other.getIpamArn().equals(this.getIpamArn()) == false) return false; if (other.getIpamRegion() == null ^ this.getIpamRegion() == null) return false; if (other.getIpamRegion() != null && other.getIpamRegion().equals(this.getIpamRegion()) == false) return false; if (other.getPublicDefaultScopeId() == null ^ this.getPublicDefaultScopeId() == null) return false; if (other.getPublicDefaultScopeId() != null && other.getPublicDefaultScopeId().equals(this.getPublicDefaultScopeId()) == false) return false; if (other.getPrivateDefaultScopeId() == null ^ this.getPrivateDefaultScopeId() == null) return false; if (other.getPrivateDefaultScopeId() != null && other.getPrivateDefaultScopeId().equals(this.getPrivateDefaultScopeId()) == false) return false; if (other.getScopeCount() == null ^ this.getScopeCount() == null) return false; if (other.getScopeCount() != null && other.getScopeCount().equals(this.getScopeCount()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getOperatingRegions() == null ^ this.getOperatingRegions() == null) return false; if (other.getOperatingRegions() != null && other.getOperatingRegions().equals(this.getOperatingRegions()) == false) return false; if (other.getState() == null ^ this.getState() == null) return false; if (other.getState() != null && other.getState().equals(this.getState()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getDefaultResourceDiscoveryId() == null ^ this.getDefaultResourceDiscoveryId() == null) return false; if (other.getDefaultResourceDiscoveryId() != null && other.getDefaultResourceDiscoveryId().equals(this.getDefaultResourceDiscoveryId()) == false) return false; if (other.getDefaultResourceDiscoveryAssociationId() == null ^ this.getDefaultResourceDiscoveryAssociationId() == null) return false; if (other.getDefaultResourceDiscoveryAssociationId() != null && other.getDefaultResourceDiscoveryAssociationId().equals(this.getDefaultResourceDiscoveryAssociationId()) == false) return false; if (other.getResourceDiscoveryAssociationCount() == null ^ this.getResourceDiscoveryAssociationCount() == null) return false; if (other.getResourceDiscoveryAssociationCount() != null && other.getResourceDiscoveryAssociationCount().equals(this.getResourceDiscoveryAssociationCount()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOwnerId() == null) ? 0 : getOwnerId().hashCode()); hashCode = prime * hashCode + ((getIpamId() == null) ? 0 : getIpamId().hashCode()); hashCode = prime * hashCode + ((getIpamArn() == null) ? 0 : getIpamArn().hashCode()); hashCode = prime * hashCode + ((getIpamRegion() == null) ? 0 : getIpamRegion().hashCode()); hashCode = prime * hashCode + ((getPublicDefaultScopeId() == null) ? 0 : getPublicDefaultScopeId().hashCode()); hashCode = prime * hashCode + ((getPrivateDefaultScopeId() == null) ? 0 : getPrivateDefaultScopeId().hashCode()); hashCode = prime * hashCode + ((getScopeCount() == null) ? 0 : getScopeCount().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getOperatingRegions() == null) ? 0 : getOperatingRegions().hashCode()); hashCode = prime * hashCode + ((getState() == null) ? 0 : getState().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getDefaultResourceDiscoveryId() == null) ? 0 : getDefaultResourceDiscoveryId().hashCode()); hashCode = prime * hashCode + ((getDefaultResourceDiscoveryAssociationId() == null) ? 0 : getDefaultResourceDiscoveryAssociationId().hashCode()); hashCode = prime * hashCode + ((getResourceDiscoveryAssociationCount() == null) ? 0 : getResourceDiscoveryAssociationCount().hashCode()); return hashCode; } @Override public Ipam clone() { try { return (Ipam) 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