All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.ec2.alpha.IIpamScopeBase Maven / Gradle / Ivy

There is a newer version: 2.167.2-alpha.0
Show newest version
package software.amazon.awscdk.services.ec2.alpha;

/**
 * (experimental) Interface for IpamScope Class.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T15:56:07.911Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.ec2.alpha.$Module.class, fqn = "@aws-cdk/aws-ec2-alpha.IIpamScopeBase")
@software.amazon.jsii.Jsii.Proxy(IIpamScopeBase.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IIpamScopeBase extends software.amazon.jsii.JsiiSerializable {

    /**
     * (experimental) Reference to the current scope of stack to be passed in order to create a new IPAM pool.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull software.constructs.Construct getScope();

    /**
     * (experimental) Default Scope ids created by the IPAM or a new Resource id.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.String getScopeId();

    /**
     * (experimental) Defines scope type can be either default or custom.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.alpha.IpamScopeType getScopeType() {
        return null;
    }

    /**
     * (experimental) Function to add a new pool to an IPAM scope.
     * 

* @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.alpha.IIpamPool addPool(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.PoolOptions 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.IIpamScopeBase.Jsii$Default { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } /** * (experimental) Reference to the current scope of stack to be passed in order to create a new IPAM pool. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull software.constructs.Construct getScope() { return software.amazon.jsii.Kernel.get(this, "scope", software.amazon.jsii.NativeType.forClass(software.constructs.Construct.class)); } /** * (experimental) Default Scope ids created by the IPAM or a new Resource id. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull java.lang.String getScopeId() { return software.amazon.jsii.Kernel.get(this, "scopeId", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * (experimental) Defines scope type can be either default or custom. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.alpha.IpamScopeType getScopeType() { return software.amazon.jsii.Kernel.get(this, "scopeType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IpamScopeType.class)); } /** * (experimental) Function to add a new pool to an IPAM scope. *

* @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.alpha.IIpamPool addPool(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.PoolOptions options) { return software.amazon.jsii.Kernel.call(this, "addPool", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpamPool.class), new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(options, "options is required") }); } } /** * Internal default implementation for {@link IIpamScopeBase}. */ @software.amazon.jsii.Internal interface Jsii$Default extends IIpamScopeBase { /** * (experimental) Reference to the current scope of stack to be passed in order to create a new IPAM pool. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.NotNull software.constructs.Construct getScope() { return software.amazon.jsii.Kernel.get(this, "scope", software.amazon.jsii.NativeType.forClass(software.constructs.Construct.class)); } /** * (experimental) Default Scope ids created by the IPAM or a new Resource id. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.NotNull java.lang.String getScopeId() { return software.amazon.jsii.Kernel.get(this, "scopeId", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * (experimental) Defines scope type can be either default or custom. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.alpha.IpamScopeType getScopeType() { return software.amazon.jsii.Kernel.get(this, "scopeType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IpamScopeType.class)); } /** * (experimental) Function to add a new pool to an IPAM scope. *

* @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.alpha.IIpamPool addPool(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.alpha.PoolOptions options) { return software.amazon.jsii.Kernel.call(this, "addPool", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.alpha.IIpamPool.class), new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(options, "options is required") }); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy