/*
* 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.ProvisionByoipCidrRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ProvisionByoipCidrRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest
* The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is
* /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address
* range that you've brought to this or another Region.
*
* A signed document that proves that you are authorized to bring the specified IP address range to Amazon using
* BYOIP.
*
* (IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
*
* Default: true
*
* A description for the address range and the address pool.
*
* The tags to apply to the address pool.
*
* Reserved.
*
* The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is
* /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address
* range that you've brought to this or another Region.
*
* The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is
* /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address
* range that you've brought to this or another Region.
*
* The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is
* /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address
* range that you've brought to this or another Region.
*
* A signed document that proves that you are authorized to bring the specified IP address range to Amazon using
* BYOIP.
*
* A signed document that proves that you are authorized to bring the specified IP address range to Amazon using
* BYOIP.
*
* A signed document that proves that you are authorized to bring the specified IP address range to Amazon using
* BYOIP.
*
* (IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
*
* Default: true
*
* Default: true */ public void setPubliclyAdvertisable(Boolean publiclyAdvertisable) { this.publiclyAdvertisable = publiclyAdvertisable; } /** *
* (IPv6 only) Indicate whether the address range will be publicly advertised to the internet. *
** Default: true *
* * @return (IPv6 only) Indicate whether the address range will be publicly advertised to the internet. ** Default: true */ public Boolean getPubliclyAdvertisable() { return this.publiclyAdvertisable; } /** *
* (IPv6 only) Indicate whether the address range will be publicly advertised to the internet. *
** Default: true *
* * @param publiclyAdvertisable * (IPv6 only) Indicate whether the address range will be publicly advertised to the internet. ** Default: true * @return Returns a reference to this object so that method calls can be chained together. */ public ProvisionByoipCidrRequest withPubliclyAdvertisable(Boolean publiclyAdvertisable) { setPubliclyAdvertisable(publiclyAdvertisable); return this; } /** *
* (IPv6 only) Indicate whether the address range will be publicly advertised to the internet. *
** Default: true *
* * @return (IPv6 only) Indicate whether the address range will be publicly advertised to the internet. ** Default: true */ public Boolean isPubliclyAdvertisable() { return this.publiclyAdvertisable; } /** *
* A description for the address range and the address pool. *
* * @param description * A description for the address range and the address pool. */ public void setDescription(String description) { this.description = description; } /** ** A description for the address range and the address pool. *
* * @return A description for the address range and the address pool. */ public String getDescription() { return this.description; } /** ** A description for the address range and the address pool. *
* * @param description * A description for the address range and the address pool. * @return Returns a reference to this object so that method calls can be chained together. */ public ProvisionByoipCidrRequest withDescription(String description) { setDescription(description); return this; } /** ** The tags to apply to the address pool. *
* * @return The tags to apply to the address pool. */ public java.util.List* The tags to apply to the address pool. *
* * @param poolTagSpecifications * The tags to apply to the address pool. */ public void setPoolTagSpecifications(java.util.Collection* The tags to apply to the address pool. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPoolTagSpecifications(java.util.Collection)} or * {@link #withPoolTagSpecifications(java.util.Collection)} if you want to override the existing values. *
* * @param poolTagSpecifications * The tags to apply to the address pool. * @return Returns a reference to this object so that method calls can be chained together. */ public ProvisionByoipCidrRequest withPoolTagSpecifications(TagSpecification... poolTagSpecifications) { if (this.poolTagSpecifications == null) { setPoolTagSpecifications(new com.amazonaws.internal.SdkInternalList* The tags to apply to the address pool. *
* * @param poolTagSpecifications * The tags to apply to the address pool. * @return Returns a reference to this object so that method calls can be chained together. */ public ProvisionByoipCidrRequest withPoolTagSpecifications(java.util.Collection* Reserved. *
* * @param multiRegion * Reserved. */ public void setMultiRegion(Boolean multiRegion) { this.multiRegion = multiRegion; } /** ** Reserved. *
* * @return Reserved. */ public Boolean getMultiRegion() { return this.multiRegion; } /** ** Reserved. *
* * @param multiRegion * Reserved. * @return Returns a reference to this object so that method calls can be chained together. */ public ProvisionByoipCidrRequest withMultiRegion(Boolean multiRegion) { setMultiRegion(multiRegion); return this; } /** ** Reserved. *
* * @return Reserved. */ public Boolean isMultiRegion() { return this.multiRegion; } /** * This method is intended for internal use only. Returns the marshaled request configured with additional * parameters to enable operation dry-run. */ @Override public Request