software.amazon.awscdk.services.ec2.alpha.IIpamPool Maven / Gradle / Ivy
Show all versions of ec2-alpha Show documentation
package software.amazon.awscdk.services.ec2.alpha;
/**
* (experimental) Definition used to add or create a new IPAM pool.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-09-10T01:10:18.072Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.ec2.alpha.$Module.class, fqn = "@aws-cdk/aws-ec2-alpha.IIpamPool")
@software.amazon.jsii.Jsii.Proxy(IIpamPool.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IIpamPool extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) Pool CIDR for IPv6 to be provisioned with Public IP source set to 'Amazon'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.util.List getIpamCidrs();
/**
* (experimental) Pool ID to be passed to the VPC construct.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull java.lang.String getIpamPoolId();
/**
* (experimental) Function to associate a IPv6 address with IPAM pool.
*
* @param id This parameter is required.
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr provisionCidr(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IpamPoolCidrProvisioningOptions options);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.ec2.alpha.IIpamPool.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Pool CIDR for IPv6 to be provisioned with Public IP source set to 'Amazon'.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.util.List getIpamCidrs() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "ipamCidrs", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr.class))));
}
/**
* (experimental) Pool ID to be passed to the VPC construct.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final @org.jetbrains.annotations.NotNull java.lang.String getIpamPoolId() {
return software.amazon.jsii.Kernel.get(this, "ipamPoolId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) Function to associate a IPv6 address with IPAM pool.
*
* @param id This parameter is required.
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr provisionCidr(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IpamPoolCidrProvisioningOptions options) {
return software.amazon.jsii.Kernel.call(this, "provisionCidr", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr.class), new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(options, "options is required") });
}
}
/**
* Internal default implementation for {@link IIpamPool}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IIpamPool {
/**
* (experimental) Pool CIDR for IPv6 to be provisioned with Public IP source set to 'Amazon'.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.util.List getIpamCidrs() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "ipamCidrs", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr.class))));
}
/**
* (experimental) Pool ID to be passed to the VPC construct.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
default @org.jetbrains.annotations.NotNull java.lang.String getIpamPoolId() {
return software.amazon.jsii.Kernel.get(this, "ipamPoolId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) Function to associate a IPv6 address with IPAM pool.
*
* @param id This parameter is required.
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr provisionCidr(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IpamPoolCidrProvisioningOptions options) {
return software.amazon.jsii.Kernel.call(this, "provisionCidr", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr.class), new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(options, "options is required") });
}
}
}