Interface Output<T>
-
- All Superinterfaces:
com.pulumi.core.internal.Copyable<Output<T>>
public interface Output<T> extends com.pulumi.core.internal.Copyable<Output<T>>
Output
<T> is a key part of how Pulumi tracks dependencies betweenResource
s. Because the values of outputs are not available until resources are created, these are represented using the specialOutput
<T> type, which internally represents two things:- An eventually available value of the output
- The dependency on the source(s) of the output value
Output
<T> is quite similar toCompletableFuture
. Additionally, they carry along dependency information.The output properties of all resource objects in Pulumi have type
Output
<T>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Output.ListBuilder<E>
AList
wrapped in anOutput
builder.static class
Output.MapBuilder<V>
AMap
wrapped in anOutput
builder.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <T> Output<java.util.List<T>>
all(Output<T>... outputs)
static <T> Output<java.util.List<T>>
all(java.lang.Iterable<Output<T>> outputs)
<U> Output<U>
apply(java.util.function.Function<T,Output<U>> func)
Transforms the data of thisOutput
<T> with the providedfunc
.default <U> Output<U>
applyValue(java.util.function.Function<T,U> func)
Output<T>
asPlaintext()
Returns a newOutput
<T> which is a copy of the existing output but marked as a non-secret.Output<T>
asSecret()
Returns a newOutput
<T> which is a copy of the existing output but marked as a secret.static <E> Output<java.util.List<E>>
concatList(Output<java.util.List<E>> left, Output<java.util.List<E>> right)
Concatenates two lists ofOutput
, can take anull
value that will be treated as an empty list, always returnsnon-null
.static <V> Output<java.util.Map<java.lang.String,V>>
concatMap(Output<java.util.Map<java.lang.String,V>> left, Output<java.util.Map<java.lang.String,V>> right)
Concatenates twoMap
wrapped in anOutput
.Output<T>
copy()
Creates a shallow copy (the underlying CompletableFuture is copied) of thisOutput
<T>static <E> Output<java.util.List<E>>
copyOfList(java.util.List<E> values)
Returns a shallow copy of theList
wrapped in anOutput
static <V> Output<java.util.Map<java.lang.String,V>>
copyOfMap(java.util.Map<java.lang.String,V> values)
Returns a shallow copy of theMap
wrapped in anOutput
static Output<java.lang.String>
format(java.lang.String formattableString, java.lang.Object... arguments)
static <E> Output.ListBuilder<E>
listBuilder()
Helps to build anOutput
that wraps aList
.static <E> Output.MapBuilder<E>
mapBuilder()
Helps to build aMap
wrapped in anOutput
.static <T> Output<T>
of(java.util.concurrent.CompletableFuture<T> future)
Returns anOutput
<T> describing a future value.static <T> Output<T>
of(T value)
Returns anOutput
<T> describing the given non-null
value.static Output<com.google.gson.JsonElement>
ofJson()
static Output<com.google.gson.JsonElement>
ofJson(com.google.gson.JsonElement json)
Represents anOutput
value that wraps aJsonElement
static <L,R>
Output<Either<L,R>>ofLeft(Output<L> value)
static <L,R>
Output<Either<L,R>>ofLeft(L value)
Represents anOutput
value that can be one of two different types.static <E> Output<java.util.List<E>>
ofList()
static <E> Output<java.util.List<E>>
ofList(E e1)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11, E e12)
static <E> Output<java.util.List<E>>
ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11, E e12, E... others)
static <V> Output<java.util.Map<java.lang.String,V>>
ofMap()
static <V> Output<java.util.Map<java.lang.String,V>>
ofMap(java.lang.String key1, V value1)
static <V> Output<java.util.Map<java.lang.String,V>>
ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2)
static <V> Output<java.util.Map<java.lang.String,V>>
ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2, java.lang.String key3, V value3)
static <V> Output<java.util.Map<java.lang.String,V>>
ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2, java.lang.String key3, V value3, java.lang.String key4, V value4)
static <V> Output<java.util.Map<java.lang.String,V>>
ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2, java.lang.String key3, V value3, java.lang.String key4, V value4, java.lang.String key5, V value5)
static <T> Output<T>
ofNullable(T value)
Returns anOutput
<T> describing the given value, if non-null
, otherwise returns an emptyOutput
<T>.static <L,R>
Output<Either<L,R>>ofRight(Output<R> value)
static <L,R>
Output<Either<L,R>>ofRight(R value)
static <T> Output<T>
ofSecret(T value)
Returns anOutput
<T> describing the given non-null
secret value.static Output<com.google.gson.JsonElement>
parseJson(Output<java.lang.String> json)
static Output<com.google.gson.JsonElement>
parseJson(java.lang.String json)
static <T1,T2>
Output<Tuples.Tuple2<T1,T2>>tuple(Output<T1> item1, Output<T2> item2)
static <T1,T2,T3>
Output<Tuples.Tuple3<T1,T2,T3>>tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3)
static <T1,T2,T3,T4>
Output<Tuples.Tuple4<T1,T2,T3,T4>>tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4)
static <T1,T2,T3,T4,T5>
Output<Tuples.Tuple5<T1,T2,T3,T4,T5>>tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5)
static <T1,T2,T3,T4,T5,T6>
Output<Tuples.Tuple6<T1,T2,T3,T4,T5,T6>>tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5, Output<T6> item6)
static <T1,T2,T3,T4,T5,T6,T7>
Output<Tuples.Tuple7<T1,T2,T3,T4,T5,T6,T7>>tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5, Output<T6> item6, Output<T7> item7)
static <T1,T2,T3,T4,T5,T6,T7,T8>
Output<Tuples.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>>tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5, Output<T6> item6, Output<T7> item7, Output<T8> item8)
Combines all theOutput
values in the provided parameters and combines them all into a single tuple containing each of their underlying values.
-
-
-
Method Detail
-
apply
<U> Output<U> apply(java.util.function.Function<T,Output<U>> func)
Transforms the data of thisOutput
<T> with the providedfunc
. The result remains anOutput
<T> so that dependent resources can be properly tracked.func
should not be used to create resources unless necessary as `func` may not be run during some program executions.func
can return otherOutput
<T>s. This can be handy if you have anOutput<SomeType>
and you want to get a transitive dependency of it. i.e.:
Output<SomeType> d1 = ...; Output<OtherType> d2 = d1.apply(v -> v.otherOutput); // getting an output off of 'v'.
In this example, taking a dependency on d2 means a resource will depend on all the resources of d1. It will not depend on the resources of v.x.y.OtherDep.
Importantly, the Resources that d2 feels like it will depend on are the same resources as d1.
If you need have multiple
Output
<T>s and a singleOutput
<T> is needed that combines both set of resources, thenall(Output[])
ortuple(Output, Output, Output)
should be used instead.This function will only be called during execution of a
pulumi up
request. It will not run duringpulumi preview
(as the values of resources are of course not known then).
-
applyValue
default <U> Output<U> applyValue(java.util.function.Function<T,U> func)
- Type Parameters:
U
- type returned byfunc
- Parameters:
func
- the function to apply to the current value- Returns:
- an
Output
after applyingfunc
- See Also:
for more details.
-
copy
Output<T> copy()
Creates a shallow copy (the underlying CompletableFuture is copied) of thisOutput
<T>
-
asPlaintext
Output<T> asPlaintext()
Returns a newOutput
<T> which is a copy of the existing output but marked as a non-secret. The original output or input is not modified in any way.Please use with caution
- Returns:
- this
Output
as a non-secret
-
asSecret
Output<T> asSecret()
Returns a newOutput
<T> which is a copy of the existing output but marked as a secret. The original output or input is not modified in any way.- Returns:
- this
Output
as a secret
-
of
static <T> Output<T> of(T value)
Returns anOutput
<T> describing the given non-null
value.- Type Parameters:
T
- the type of the value- Parameters:
value
- the value to describe, which must be non-null
- Returns:
- an
Output
<T> with the value present - Throws:
java.lang.NullPointerException
- if value isnull
-
of
static <T> Output<T> of(java.util.concurrent.CompletableFuture<T> future)
Returns anOutput
<T> describing a future value.- Type Parameters:
T
- the type of the value- Parameters:
future
- the future to describe, which must be non-null
- Returns:
- an
Output
<T> with the value present - Throws:
java.lang.NullPointerException
- if future isnull
, but not the future value
-
ofSecret
static <T> Output<T> ofSecret(T value)
Returns anOutput
<T> describing the given non-null
secret value.- Type Parameters:
T
- the type of the value- Parameters:
value
- the secret value to describe, which must be non-null
- Returns:
- an
Output
<T> with the value present - Throws:
java.lang.NullPointerException
- if value isnull
-
ofNullable
static <T> Output<T> ofNullable(@Nullable T value)
Returns anOutput
<T> describing the given value, if non-null
, otherwise returns an emptyOutput
<T>.- Type Parameters:
T
- the type of the value- Parameters:
value
- the possibly-null
value to describe- Returns:
- an
Output
<T> with a present value if the specified value is non-null
, otherwise an emptyOutput
<T>
-
all
@SafeVarargs static <T> Output<java.util.List<T>> all(Output<T>... outputs)
Combines all theOutput
<T> values inoutputs
into a singleOutput
<T> with anList
<T> containing all their underlying values.If any of the
Output
<T>s are not known, the final result will be not known. Similarly, if any of theOutput
<T>s are secrets, then the final result will be a secret.- Type Parameters:
T
- the type of the value- Parameters:
outputs
- the outputs to be combined- Returns:
- an
Output
with a list of all values of the givenoutputs
-
all
static <T> Output<java.util.List<T>> all(java.lang.Iterable<Output<T>> outputs)
- Type Parameters:
T
- the type of the value- Parameters:
outputs
- the outputs to be combined- Returns:
- an
Output
with a list of all values of the givenoutputs
- See Also:
for more details.
-
format
static Output<java.lang.String> format(java.lang.String formattableString, @Nullable java.lang.Object... arguments)
Takes in aformattableString
with potentialOutput
or a regularObject
. in the 'placeholder holes'. Conceptually, this method unwraps all the underlying values in the holes, combines them appropriately with theformattableString
, and produces anOutput
containing the final result.If any of the
Output
s are not known, the final result will be not known.Similarly, if any of the
Output
s are secrets, then the final result will be a secret.- Parameters:
formattableString
- The format string with same syntax as expected byString.format(String, Object...)
, the behaviour on anull
argument depends on the format conversion.arguments
-Output
s or regularObject
s that values of will be applied to the format String- Returns:
- an
Output
with the result of the formatting
-
ofLeft
static <L,R> Output<Either<L,R>> ofLeft(L value)
Represents anOutput
value that can be one of two different types. For example, it might potentially be an "Integer" some time or a "String" in other cases.- Type Parameters:
L
- the type contained by theLeft
instanceR
- the type contained by theRight
instance- Parameters:
value
- the value to create theLeft
instance with- Returns:
- an
Output
holdingLeft
instance with the given value
-
ofRight
static <L,R> Output<Either<L,R>> ofRight(R value)
- Type Parameters:
L
- the type contained by theLeft
instanceR
- the type contained by theRight
instance- Parameters:
value
- the value to create theRight
instance with- Returns:
- an
Output
holdingRight
instance with the given value - See Also:
ofLeft(Object)
-
ofLeft
static <L,R> Output<Either<L,R>> ofLeft(Output<L> value)
- Type Parameters:
L
- the type contained by theLeft
instanceR
- the type contained by theRight
instance- Parameters:
value
- anOutput
with the value to create theLeft
instance with- Returns:
- an
Output
holdingLeft
instance with the value of the givenOutput
- See Also:
ofLeft(Object)
-
ofRight
static <L,R> Output<Either<L,R>> ofRight(Output<R> value)
- Type Parameters:
L
- the type contained by theLeft
instanceR
- the type contained by theRight
instance- Parameters:
value
- anOutput
with the value to create theRight
instance with- Returns:
- an
Output
holdingRight
instance with the value of the givenOutput
- See Also:
ofLeft(Object)
-
ofJson
static Output<com.google.gson.JsonElement> ofJson()
- Returns:
- a
JsonNull.INSTANCE
- See Also:
ofJson(JsonElement)
-
ofJson
static Output<com.google.gson.JsonElement> ofJson(com.google.gson.JsonElement json)
Represents anOutput
value that wraps aJsonElement
- Parameters:
json
- theJsonElement
to wrap- Returns:
- given
JsonElement
wrapped in anOutput
-
parseJson
static Output<com.google.gson.JsonElement> parseJson(java.lang.String json)
- Parameters:
json
- the json value to wrap- Returns:
- given json value as a
JsonElement
wrapped in anOutput
- Throws:
com.google.gson.JsonSyntaxException
- if json is not valid- See Also:
ofJson(JsonElement)
-
parseJson
static Output<com.google.gson.JsonElement> parseJson(Output<java.lang.String> json)
- Parameters:
json
- the json value wrapped in anOutput
<String>- Returns:
- given json value as a
JsonElement
wrapped in anOutput
- Throws:
com.google.gson.JsonSyntaxException
- if json is not valid- See Also:
ofJson(JsonElement)
-
copyOfList
static <E> Output<java.util.List<E>> copyOfList(java.util.List<E> values)
Returns a shallow copy of theList
wrapped in anOutput
- Returns:
- an
Output
holding a copy of the given list
-
concatList
@Nonnull static <E> Output<java.util.List<E>> concatList(@Nullable Output<java.util.List<E>> left, @Nullable Output<java.util.List<E>> right)
Concatenates two lists ofOutput
, can take anull
value that will be treated as an empty list, always returnsnon-null
.- Type Parameters:
E
- type of the list element- Parameters:
left
- fist list to concatenateright
- second list to concatenate- Returns:
- an
Output
withleft
andright
lists concatenated
-
ofList
static <E> Output<java.util.List<E>> ofList()
- Returns:
- an
Output
with an emptyList
- See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1)
- Returns:
- an
Output
value that wraps aList
with one element. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2)
- Returns:
- an
Output
value that wraps aList
with two elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3)
- Returns:
- an
Output
value that wraps aList
with three elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4)
- Returns:
- an
Output
value that wraps aList
with four elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5)
- Returns:
- an
Output
value that wraps aList
with five elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6)
- Returns:
- an
Output
value that wraps aList
with six elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7)
- Returns:
- an
Output
value that wraps aList
with seven elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)
- Returns:
- an
Output
value that wraps aList
with eight elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
- Returns:
- an
Output
value that wraps aList
with nine elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)
- Returns:
- an
Output
value that wraps aList
with ten elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11)
- Returns:
- an
Output
value that wraps aList
with eleven elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11, E e12)
- Returns:
- an
Output
value that wraps aList
with twelve elements. - See Also:
ofList(Object)
,listBuilder()
-
ofList
@SafeVarargs static <E> Output<java.util.List<E>> ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11, E e12, E... others)
- Returns:
- an
Output
value that wraps aList
with more than twelve elements. - See Also:
ofList(Object)
,listBuilder()
-
listBuilder
static <E> Output.ListBuilder<E> listBuilder()
Helps to build anOutput
that wraps aList
.- Returns:
- an
Output.ListBuilder
<E> instance - See Also:
ofList(Object)
-
copyOfMap
static <V> Output<java.util.Map<java.lang.String,V>> copyOfMap(java.util.Map<java.lang.String,V> values)
Returns a shallow copy of theMap
wrapped in anOutput
- Returns:
- an
Output
holding a copy of the given map
-
concatMap
static <V> Output<java.util.Map<java.lang.String,V>> concatMap(@Nullable Output<java.util.Map<java.lang.String,V>> left, @Nullable Output<java.util.Map<java.lang.String,V>> right)
Concatenates twoMap
wrapped in anOutput
. Returns a new instance without modifying any of the arguments.If both maps contain the same key, the value from the second map takes over.
null
values in the Output or Map layer are treated as empty maps.- Type Parameters:
V
- type of the map value- Parameters:
left
- The first @seeOutput<Map<String, V>>
to concatenateright
- The second @seeOutput<Map<String, V>>
to concatenate, it has higher priority in case of key clash- Returns:
- an
Output<Map<String, V>>
that contains the items from both maps given
-
ofMap
static <V> Output<java.util.Map<java.lang.String,V>> ofMap()
- Returns:
- an
Output
with an emptyMap
- See Also:
ofMap(String, Object)
,mapBuilder()
-
ofMap
static <V> Output<java.util.Map<java.lang.String,V>> ofMap(java.lang.String key1, V value1)
- Returns:
- an
Output
that wraps aMap
with one pair. - See Also:
mapBuilder()
-
ofMap
static <V> Output<java.util.Map<java.lang.String,V>> ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2)
- Returns:
- an
Output
that wraps aMap
with two pairs. - See Also:
ofMap(String, Object)
,mapBuilder()
-
ofMap
static <V> Output<java.util.Map<java.lang.String,V>> ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2, java.lang.String key3, V value3)
- Returns:
- an
Output
that wraps aMap
with three pairs. - See Also:
ofMap(String, Object)
,mapBuilder()
-
ofMap
static <V> Output<java.util.Map<java.lang.String,V>> ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2, java.lang.String key3, V value3, java.lang.String key4, V value4)
- Returns:
- an
Output
that wraps aMap
with four pairs. - See Also:
ofMap(String, Object)
,mapBuilder()
-
ofMap
static <V> Output<java.util.Map<java.lang.String,V>> ofMap(java.lang.String key1, V value1, java.lang.String key2, V value2, java.lang.String key3, V value3, java.lang.String key4, V value4, java.lang.String key5, V value5)
- Returns:
- an
Output
that wraps aMap
with five pairs. - See Also:
ofMap(String, Object)
,mapBuilder()
-
mapBuilder
static <E> Output.MapBuilder<E> mapBuilder()
Helps to build aMap
wrapped in anOutput
.- See Also:
ofMap(String, Object)
-
tuple
static <T1,T2> Output<Tuples.Tuple2<T1,T2>> tuple(Output<T1> item1, Output<T2> item2)
- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple2
with all given items - See Also:
tuple(Output, Output, Output, Output, Output, Output, Output, Output)
-
tuple
static <T1,T2,T3> Output<Tuples.Tuple3<T1,T2,T3>> tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3)
- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
T3
- type ofitem3
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tupleitem3
- the 3rd item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple3
with all given items - See Also:
tuple(Output, Output, Output, Output, Output, Output, Output, Output)
-
tuple
static <T1,T2,T3,T4> Output<Tuples.Tuple4<T1,T2,T3,T4>> tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4)
- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
T3
- type ofitem3
T4
- type ofitem4
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tupleitem3
- the 3rd item ot the tupleitem4
- the 4th item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple4
with all given items - See Also:
tuple(Output, Output, Output, Output, Output, Output, Output, Output)
-
tuple
static <T1,T2,T3,T4,T5> Output<Tuples.Tuple5<T1,T2,T3,T4,T5>> tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5)
- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
T3
- type ofitem3
T4
- type ofitem4
T5
- type ofitem5
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tupleitem3
- the 3rd item ot the tupleitem4
- the 4th item ot the tupleitem5
- the 5th item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple5
with all given items - See Also:
tuple(Output, Output, Output, Output, Output, Output, Output, Output)
-
tuple
static <T1,T2,T3,T4,T5,T6> Output<Tuples.Tuple6<T1,T2,T3,T4,T5,T6>> tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5, Output<T6> item6)
- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
T3
- type ofitem3
T4
- type ofitem4
T5
- type ofitem5
T6
- type ofitem6
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tupleitem3
- the 3rd item ot the tupleitem4
- the 4th item ot the tupleitem5
- the 5th item ot the tupleitem6
- the 6th item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple6
with all given items - See Also:
tuple(Output, Output, Output, Output, Output, Output, Output, Output)
-
tuple
static <T1,T2,T3,T4,T5,T6,T7> Output<Tuples.Tuple7<T1,T2,T3,T4,T5,T6,T7>> tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5, Output<T6> item6, Output<T7> item7)
- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
T3
- type ofitem3
T4
- type ofitem4
T5
- type ofitem5
T6
- type ofitem6
T7
- type ofitem7
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tupleitem3
- the 3rd item ot the tupleitem4
- the 4th item ot the tupleitem5
- the 5th item ot the tupleitem6
- the 6th item ot the tupleitem7
- the 7th item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple7
with all given items - See Also:
tuple(Output, Output, Output, Output, Output, Output, Output, Output)
-
tuple
static <T1,T2,T3,T4,T5,T6,T7,T8> Output<Tuples.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>> tuple(Output<T1> item1, Output<T2> item2, Output<T3> item3, Output<T4> item4, Output<T5> item5, Output<T6> item6, Output<T7> item7, Output<T8> item8)
Combines all theOutput
values in the provided parameters and combines them all into a single tuple containing each of their underlying values. If any of theOutput
s are not known, the final result will be not known. Similarly, if any of theOutput
s are secrets, then the final result will be a secret.- Type Parameters:
T1
- type ofitem1
T2
- type ofitem2
T3
- type ofitem3
T4
- type ofitem4
T5
- type ofitem5
T6
- type ofitem6
T7
- type ofitem7
T8
- type ofitem8
- Parameters:
item1
- the 1st item ot the tupleitem2
- the 2nd item ot the tupleitem3
- the 3rd item ot the tupleitem4
- the 4th item ot the tupleitem5
- the 5th item ot the tupleitem6
- the 6th item ot the tupleitem7
- the 7th item ot the tupleitem8
- the 8th item ot the tuple- Returns:
- an
Output
holding aTuples.Tuple8
with all given items
-
-