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 @seeComponentResource
behavior.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomResourceOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static CustomResourceOptions
Empty
-
Fields inherited from class com.pulumi.resources.ResourceOptions
aliases, customTimeouts, dependsOn, id, ignoreChanges, parent, pluginDownloadURL, protect, provider, replaceOnChanges, resourceTransformations, retainOnDelete, urn, version
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomResourceOptions.Builder
builder()
CustomResourceOptions
copy()
java.util.List<java.lang.String>
getAdditionalSecretOutputs()
boolean
getDeleteBeforeReplace()
java.util.Optional<java.lang.String>
getImportId()
static CustomResourceOptions
merge(CustomResourceOptions options1, CustomResourceOptions options2)
Takes two @seeCustomResourceOptions
values and produces a new @seeCustomResourceOptions
with the respective properties of "options2" merged over the same properties in "options1".static CustomResourceOptions
merge(CustomResourceOptions options1, CustomResourceOptions 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 CustomResourceOptions Empty
-
-
Method Detail
-
builder
public static CustomResourceOptions.Builder builder()
-
getDeleteBeforeReplace
public boolean getDeleteBeforeReplace()
-
getAdditionalSecretOutputs
public java.util.List<java.lang.String> getAdditionalSecretOutputs()
-
getImportId
public java.util.Optional<java.lang.String> getImportId()
-
copy
public CustomResourceOptions copy()
- Specified by:
copy
in interfacecom.pulumi.core.internal.Copyable<CustomResourceOptions>
-
merge
public static CustomResourceOptions merge(@Nullable CustomResourceOptions options1, @Nullable CustomResourceOptions options2)
Takes two @seeCustomResourceOptions
values and produces a new @seeCustomResourceOptions
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: - 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<java.lang.String> id)
-
-