/*
* 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;
import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.Request;
import com.amazonaws.services.ec2.model.transform.CreateIpamRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateIpamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest
* A description for the IPAM.
*
* The operating Regions for the 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.
*
* 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
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see Ensuring
* Idempotency.
*
* A description for the IPAM.
*
* A description for the IPAM.
*
* A description for the IPAM.
*
* The operating Regions for the 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.
* Owner
and the
* value TeamA
, specify tag:Owner
for the filter name and TeamA
for the
* filter value.
*
* 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 the 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 the 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 CreateIpamRequest withOperatingRegions(AddIpamOperatingRegion... operatingRegions) {
if (this.operatingRegions == null) {
setOperatingRegions(new com.amazonaws.internal.SdkInternalList
* The operating Regions for the 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 CreateIpamRequest withOperatingRegions(java.util.Collection
* 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 #setTagSpecifications(java.util.Collection)} or {@link #withTagSpecifications(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
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see Ensuring
* Idempotency.
*
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see Ensuring
* Idempotency.
*
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
* information, see Ensuring
* Idempotency.
* 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 setTagSpecifications(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 CreateIpamRequest withTagSpecifications(TagSpecification... tagSpecifications) {
if (this.tagSpecifications == null) {
setTagSpecifications(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 CreateIpamRequest withTagSpecifications(java.util.Collection