Package com.pulumi.resources
Class CustomResourceOptions
java.lang.Object
com.pulumi.resources.ResourceOptions
com.pulumi.resources.CustomResourceOptions
- All Implemented Interfaces:
com.pulumi.core.internal.Copyable<CustomResourceOptions>
public final class CustomResourceOptions
extends ResourceOptions
implements com.pulumi.core.internal.Copyable<CustomResourceOptions>
A bag of optional settings that control a @see
ComponentResource behavior.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.pulumi.resources.ResourceOptions
aliases, customTimeouts, dependsOn, hideDiffs, id, ignoreChanges, parent, pluginDownloadURL, protect, provider, replacementTrigger, replaceOnChanges, replaceWith, resourceTransformations, retainOnDelete, urn, version -
Method Summary
Modifier and TypeMethodDescriptionbuilder()copy()booleanstatic CustomResourceOptionsmerge(CustomResourceOptions options1, CustomResourceOptions options2) Takes two @seeCustomResourceOptionsvalues and produces a new @seeCustomResourceOptionswith the respective properties of "options2" merged over the same properties in "options1".static CustomResourceOptionsmerge(CustomResourceOptions options1, CustomResourceOptions options2, Output<String> id) Methods inherited from class com.pulumi.resources.ResourceOptions
getAliases, getCustomTimeouts, getDependsOn, getHideDiffs, getId, getIgnoreChanges, getParent, getPluginDownloadURL, getProtect, getProvider, getReplacementTrigger, getReplaceOnChanges, getReplaceWith, getResourceTransformations, getRetainOnDelete, getUrn, getVersion, isProtect, isRetainOnDelete, mergeSharedOptions, mergeSharedOptions
-
Field Details
-
Empty
-
-
Method Details
-
builder
-
getDeleteBeforeReplace
public boolean getDeleteBeforeReplace() -
getDeleteBeforeReplaceOptional
-
getAdditionalSecretOutputs
-
getImportId
-
copy
- Specified by:
copyin interfacecom.pulumi.core.internal.Copyable<CustomResourceOptions>
-
merge
public static CustomResourceOptions merge(@Nullable CustomResourceOptions options1, @Nullable CustomResourceOptions options2) Takes two @seeCustomResourceOptionsvalues and produces a new @seeCustomResourceOptionswith 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: - If the property is a collection, the final value will be a collection containing the values from each options object. - Simple scalar values from "options2" (i.e. "string", "int", "bool") will replace the values of "options1". - "null" values in "options2" will be ignored.
-
merge
public static CustomResourceOptions merge(@Nullable CustomResourceOptions options1, @Nullable CustomResourceOptions options2, @Nullable Output<String> id)
-