/* * 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* 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.
*
* 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
* 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.
*
* For more information about operating Regions, see Create an IPAM in the Amazon
* VPC IPAM User Guide.
*/
public void setOperatingRegions(java.util.Collection
* 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.
*
* 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
* 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.
*
* 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
* The state of the IPAM.
*
* The state of the IPAM.
*
* The state of the IPAM.
*
* The state of the IPAM.
*
* 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
* 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
* 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
* 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.
*
* 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
* The IPAM's default resource discovery ID.
*
* The IPAM's default resource discovery ID.
*
* The IPAM's default resource discovery ID.
*
* The IPAM's default resource discovery association ID.
*
* The IPAM's default resource discovery association ID.
*
* The IPAM's default resource discovery association ID.
*
* The IPAM's resource discovery association count.
*
* The IPAM's resource discovery association count.
*
* The IPAM's resource discovery association count.
* Owner
and the
* value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
* filter value.
* Owner
and the value TeamA
, specify tag:Owner
for the filter name
* and TeamA
for the filter value.
*/
public java.util.ListOwner
and the
* value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
* filter value.
* Owner
and the value TeamA
, specify tag:Owner
for the filter name
* and TeamA
for the filter value.
*/
public void setTags(java.util.CollectionOwner
and the
* value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
* filter value.
* 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.SdkInternalListOwner
and the
* value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
* filter value.
* 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