Package com.hashicorp.cdktf
Class TerraformIterator
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.TerraformIterator
- All Implemented Interfaces:
ITerraformIterator
,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
ListTerraformIterator
,MapTerraformIterator
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)",
date="2023-07-26T11:31:27.655Z")
@Stability(Experimental)
public abstract class TerraformIterator
extends software.amazon.jsii.JsiiObject
implements ITerraformIterator
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformIterator
ITerraformIterator.Jsii$Default
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
TerraformIterator
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TerraformIterator
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ListTerraformIterator
(experimental) Creates a new iterator from a list.static MapTerraformIterator
(experimental) Creates a new iterator from a map.getBoolean
(String attribute) getBooleanMap
(String attribute) getNumberList
(String attribute) getNumberMap
(String attribute) getStringMap
(String attribute) Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TerraformIterator
protected TerraformIterator(software.amazon.jsii.JsiiObjectRef objRef) -
TerraformIterator
protected TerraformIterator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TerraformIterator
@Stability(Experimental) protected TerraformIterator()
-
-
Method Details
-
fromList
@Stability(Experimental) @NotNull public static ListTerraformIterator fromList(@NotNull Object list) (experimental) Creates a new iterator from a list.- Parameters:
list
- This parameter is required.
-
fromMap
(experimental) Creates a new iterator from a map.- Parameters:
map
- This parameter is required.
-
dynamic
@Stability(Experimental) @NotNull public IResolvable dynamic(@NotNull Map<String, Object> attributes) - Parameters:
attributes
- This parameter is required.
-
getAny
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as any
-
getAnyMap
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a map of any
-
getBoolean
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a boolean
-
getBooleanMap
@Stability(Experimental) @NotNull public Map<String,Boolean> getBooleanMap(@NotNull String attribute) - Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a map of booleans
-
getList
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a (string) list
-
getMap
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a map
-
getNumber
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a number
-
getNumberList
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a number list
-
getNumberMap
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a map of numbers
-
getString
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a string
-
getStringMap
- Parameters:
attribute
- name of the property to retrieve. This parameter is required.- Returns:
- the given attribute of the current item iterated over as a map of strings
-