Package com.pulumi.resources
Class ComponentResource
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.ComponentResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComponentResource.ComponentResourceInternal-
Nested classes/interfaces inherited from class com.pulumi.resources.Resource
Resource.LazyField<T>, Resource.LazyFields, Resource.ResourceInternal
-
-
Field Summary
-
Fields inherited from class com.pulumi.resources.Resource
childResources, remote
-
-
Constructor Summary
Constructors Constructor Description ComponentResource(java.lang.String type, java.lang.String name)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).ComponentResource(java.lang.String type, java.lang.String name, ComponentResourceOptions options)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).ComponentResource(java.lang.String type, java.lang.String name, ComponentResourceOptions options, boolean remote)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).ComponentResource(java.lang.String type, java.lang.String name, ResourceArgs args, ComponentResourceOptions options)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).ComponentResource(java.lang.String type, java.lang.String name, ResourceArgs args, ComponentResourceOptions options, boolean remote)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).ComponentResource(java.lang.String type, java.lang.String name, ResourceArgs args, ComponentResourceOptions options, boolean remote, java.util.concurrent.CompletableFuture<java.lang.String> packageRef)Creates and registers a new component resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidregisterOutputs(Output<java.util.Map<java.lang.String,Output<?>>> outputs)protected voidregisterOutputs(java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,Output<?>>> outputs)protected voidregisterOutputs(java.util.Map<java.lang.String,Output<?>> outputs)-
Methods inherited from class com.pulumi.resources.Resource
idFuture, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
-
-
-
-
Constructor Detail
-
ComponentResource
public ComponentResource(java.lang.String type, java.lang.String name)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).- Parameters:
type- The type of the resourcename- The unique name of the resource
-
ComponentResource
public ComponentResource(java.lang.String type, java.lang.String name, @Nullable ComponentResourceOptions options)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).- Parameters:
type- The type of the resourcename- The unique name of the resourceoptions- A bag of options that control this resource's behavior
-
ComponentResource
public ComponentResource(java.lang.String type, java.lang.String name, @Nullable ComponentResourceOptions options, boolean remote)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).- Parameters:
type- The type of the resourcename- The unique name of the resourceoptions- A bag of options that control this resource's behaviorremote- This parameter is intended for use by code-generated component SDKs; end users authoring their ownComponentResourcesubclasses should leave this at its default (false). Whentrue, the component's children are constructed by the engine rather than in this process, and the constructor skips local child registration accordingly.
-
ComponentResource
public ComponentResource(java.lang.String type, java.lang.String name, @Nullable ResourceArgs args, @Nullable ComponentResourceOptions options)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).- Parameters:
type- The type of the resourcename- The unique name of the resourceargs- The arguments to use to populate the new resourceoptions- A bag of options that control this resource's behavior
-
ComponentResource
public ComponentResource(java.lang.String type, java.lang.String name, @Nullable ResourceArgs args, @Nullable ComponentResourceOptions options, boolean remote)Creates and registers a new component resource, @seeComponentResource(String, String, ResourceArgs, ComponentResourceOptions, boolean, CompletableFuture).- Parameters:
type- The type of the resourcename- The unique name of the resourceargs- The arguments to use to populate the new resourceremote- This parameter is intended for use by code-generated component SDKs; end users authoring their ownComponentResourcesubclasses should leave this at its default (false). Whentrue, the component's children are constructed by the engine rather than in this process, and the constructor skips local child registration accordingly.options- A bag of options that control this resource's behavior
-
ComponentResource
public ComponentResource(java.lang.String type, java.lang.String name, @Nullable ResourceArgs args, @Nullable ComponentResourceOptions options, boolean remote, java.util.concurrent.CompletableFuture<java.lang.String> packageRef)Creates and registers a new component resource. Given "type" is the fully qualified type token and "name" is the "name" part to use in creating a stable and globally unique URN for the object. The "options.parent" is the optional parent for this component, and "options.dependsOn" is an optional list of other resources that this resource depends on, controlling the order in which we perform resource operations.- Parameters:
type- The type of the resourcename- The unique name of the resourceargs- The arguments to use to populate the new resourceoptions- A bag of options that control this resource's behaviorremote- This parameter is intended for use by code-generated component SDKs; end users authoring their ownComponentResourcesubclasses should leave this at its default (false). Whentrue, the component's children are constructed by the engine rather than in this process, and the constructor skips local child registration accordingly.packageRef- The package reference to use for this resource
-
-