software.amazon.awscdk.services.ec2.alpha.IpAddresses Maven / Gradle / Ivy
Show all versions of ec2-alpha Show documentation
package software.amazon.awscdk.services.ec2.alpha;
/**
* (experimental) IpAddress options to define VPC V2.
*
* Example:
*
*
* // The code below shows an example of how to instantiate this type.
* // The values are placeholders you should change.
* import software.amazon.awscdk.services.ec2.alpha.*;
* IpAddresses ipAddresses = new IpAddresses();
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-15T10:25:09.184Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.ec2.alpha.$Module.class, fqn = "@aws-cdk/aws-ec2-alpha.IpAddresses")
public class IpAddresses extends software.amazon.jsii.JsiiObject {
protected IpAddresses(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected IpAddresses(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public IpAddresses() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Amazon Provided Ipv6 range.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IIpAddresses amazonProvidedIpv6(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.SecondaryAddressProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.ec2.alpha.IpAddresses.class, "amazonProvidedIpv6", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpAddresses.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) An IPv4 CIDR Range.
*
* @param ipv4Cidr This parameter is required.
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IIpAddresses ipv4(final @org.jetbrains.annotations.NotNull java.lang.String ipv4Cidr, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.alpha.SecondaryAddressProps props) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.ec2.alpha.IpAddresses.class, "ipv4", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpAddresses.class), new Object[] { java.util.Objects.requireNonNull(ipv4Cidr, "ipv4Cidr is required"), props });
}
/**
* (experimental) An IPv4 CIDR Range.
*
* @param ipv4Cidr This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IIpAddresses ipv4(final @org.jetbrains.annotations.NotNull java.lang.String ipv4Cidr) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.ec2.alpha.IpAddresses.class, "ipv4", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpAddresses.class), new Object[] { java.util.Objects.requireNonNull(ipv4Cidr, "ipv4Cidr is required") });
}
/**
* (experimental) An Ipv4 Ipam Pool.
*
* @param ipv4IpamOptions This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IIpAddresses ipv4Ipam(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IpamOptions ipv4IpamOptions) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.ec2.alpha.IpAddresses.class, "ipv4Ipam", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpAddresses.class), new Object[] { java.util.Objects.requireNonNull(ipv4IpamOptions, "ipv4IpamOptions is required") });
}
/**
* (experimental) An Ipv6 Ipam Pool.
*
* @param ipv6IpamOptions This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IIpAddresses ipv6Ipam(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.IpamOptions ipv6IpamOptions) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.ec2.alpha.IpAddresses.class, "ipv6Ipam", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpAddresses.class), new Object[] { java.util.Objects.requireNonNull(ipv6IpamOptions, "ipv6IpamOptions is required") });
}
}