Package com.pulumi.resources
Class ComponentResourceOptions
- java.lang.Object
-
- com.pulumi.resources.ResourceOptions
-
- com.pulumi.resources.ComponentResourceOptions
-
- All Implemented Interfaces:
com.pulumi.core.internal.Copyable<ComponentResourceOptions>
public final class ComponentResourceOptions extends ResourceOptions implements com.pulumi.core.internal.Copyable<ComponentResourceOptions>
A bag of optional settings that control a @seeComponentResource
behavior.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentResourceOptions.Builder
TheComponentResourceOptions
builder.
-
Field Summary
Fields Modifier and Type Field Description static ComponentResourceOptions
Empty
-
Fields inherited from class com.pulumi.resources.ResourceOptions
aliases, customTimeouts, dependsOn, id, ignoreChanges, parent, pluginDownloadURL, protect, provider, replaceOnChanges, resourceTransformations, retainOnDelete, urn, version
-
-
Constructor Summary
Constructors Constructor Description ComponentResourceOptions(Output<java.lang.String> id, Resource parent, Output<java.util.List<Resource>> dependsOn, boolean protect, java.util.List<java.lang.String> ignoreChanges, java.lang.String version, CustomTimeouts customTimeouts, java.util.List<ResourceTransformation> resourceTransformations, java.util.List<Output<Alias>> aliases, java.lang.String urn, java.util.List<java.lang.String> replaceOnChanges, boolean retainOnDelete, java.lang.String pluginDownloadURL, java.util.List<ProviderResource> providers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentResourceOptions.Builder
builder()
ComponentResourceOptions
copy()
java.util.List<ProviderResource>
getProviders()
An optional list of providers to use for child resources.static ComponentResourceOptions
merge(ComponentResourceOptions options1, ComponentResourceOptions options2)
Takes two "ComponentResourceOptions" values and produces a new "ComponentResourceOptions" with the respective properties of "options2" merged over the same properties in "options1".static ComponentResourceOptions
merge(ComponentResourceOptions options1, ComponentResourceOptions options2, Output<java.lang.String> id)
-
Methods inherited from class com.pulumi.resources.ResourceOptions
getAliases, getCustomTimeouts, getDependsOn, getId, getIgnoreChanges, getParent, getPluginDownloadURL, getProvider, getReplaceOnChanges, getResourceTransformations, getUrn, getVersion, isProtect, isRetainOnDelete, mergeSharedOptions, mergeSharedOptions
-
-
-
-
Field Detail
-
Empty
public static final ComponentResourceOptions Empty
-
-
Constructor Detail
-
ComponentResourceOptions
public ComponentResourceOptions(@Nullable Output<java.lang.String> id, @Nullable Resource parent, @Nullable Output<java.util.List<Resource>> dependsOn, boolean protect, @Nullable java.util.List<java.lang.String> ignoreChanges, @Nullable java.lang.String version, @Nullable CustomTimeouts customTimeouts, @Nullable java.util.List<ResourceTransformation> resourceTransformations, @Nullable java.util.List<Output<Alias>> aliases, @Nullable java.lang.String urn, @Nullable java.util.List<java.lang.String> replaceOnChanges, boolean retainOnDelete, @Nullable java.lang.String pluginDownloadURL, @Nullable java.util.List<ProviderResource> providers)
-
-
Method Detail
-
builder
public static ComponentResourceOptions.Builder builder()
-
getProviders
public java.util.List<ProviderResource> getProviders()
An optional list of providers to use for child resources.- Returns:
- list of providers or empty
-
copy
public ComponentResourceOptions copy()
- Specified by:
copy
in interfacecom.pulumi.core.internal.Copyable<ComponentResourceOptions>
-
merge
public static ComponentResourceOptions merge(@Nullable ComponentResourceOptions options1, @Nullable ComponentResourceOptions options2)
Takes two "ComponentResourceOptions" values and produces a new "ComponentResourceOptions" with the respective properties of "options2" merged over the same properties in "options1".The original options objects will be unchanged. A new instance will always be returned.
Conceptually property merging follows these basic rules: 1. If the property is a collection, the final value will be a collection containing the values from each options object. 2. Simple scalar values from "options2" (i.e. Strings, Integers, Booleans) will replace the values of "options1". 3. "null" values in "options2" will be ignored.
-
merge
public static ComponentResourceOptions merge(@Nullable ComponentResourceOptions options1, @Nullable ComponentResourceOptions options2, @Nullable Output<java.lang.String> id)
-
-