Package com.pulumi.test
Class EmptyMocks
- java.lang.Object
-
- com.pulumi.test.EmptyMocks
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.pulumi.test.Mocks
Mocks.CallArgs, Mocks.ResourceArgs, Mocks.ResourceResult
-
-
Constructor Summary
Constructors Constructor Description EmptyMocks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<Mocks.ResourceResult>
newResourceAsync(Mocks.ResourceArgs args)
Invoked when a new resource is created by the program.
-
-
-
Method Detail
-
newResourceAsync
public java.util.concurrent.CompletableFuture<Mocks.ResourceResult> newResourceAsync(Mocks.ResourceArgs args)
Description copied from interface:Mocks
Invoked when a new resource is created by the program.- Specified by:
newResourceAsync
in interfaceMocks
- Parameters:
args
- arguments containing resource information- Returns:
- A resource identifier and resource state. State can be either a POJO or a dictionary bag. The returned ID may be null for component resources.
-
-