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

com.hashicorp.cdktf.TerraformResourceTargets Maven / Gradle / Ivy

The newest version!
package com.hashicorp.cdktf;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-11-11T10:07:42.162Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.TerraformResourceTargets")
public class TerraformResourceTargets extends software.amazon.jsii.JsiiObject {

    protected TerraformResourceTargets(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected TerraformResourceTargets(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public TerraformResourceTargets() {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
    }

    /**
     * @param resource This parameter is required.
     * @param target This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public void addResourceTarget(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TerraformResource resource, final @org.jetbrains.annotations.NotNull java.lang.String target) {
        software.amazon.jsii.Kernel.call(this, "addResourceTarget", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(resource, "resource is required"), java.util.Objects.requireNonNull(target, "target is required") });
    }

    /**
     * @param target This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TerraformResource getResourceByTarget(final @org.jetbrains.annotations.NotNull java.lang.String target) {
        return software.amazon.jsii.Kernel.call(this, "getResourceByTarget", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.TerraformResource.class), new Object[] { java.util.Objects.requireNonNull(target, "target is required") });
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy