Class CustomResourceOptions.Builder

Enclosing class:
CustomResourceOptions

public static final class CustomResourceOptions.Builder extends ResourceOptions.Builder<CustomResourceOptions,CustomResourceOptions.Builder>
  • Method Details

    • deleteBeforeReplace

      public CustomResourceOptions.Builder deleteBeforeReplace(boolean deleteBeforeReplace)
      When set to "true", indicates that this resource should be deleted before its replacement is created when replacement is necessary.
    • deleteBeforeReplace

      public CustomResourceOptions.Builder deleteBeforeReplace(@Nullable Boolean deleteBeforeReplace)
      See Also:
    • additionalSecretOutputs

      public CustomResourceOptions.Builder additionalSecretOutputs(String... additionalSecretOutputs)
      The names of outputs for this resource that should be treated as secrets. This augments the list that the resource provider and pulumi engine already determine based on inputs to your resource. It can be used to mark certain outputs as a secrets on a per-resource basis.
    • additionalSecretOutputs

      public CustomResourceOptions.Builder additionalSecretOutputs(@Nullable List<String> additionalSecretOutputs)
      See Also:
    • importId

      public CustomResourceOptions.Builder importId(@Nullable String importId)
      When provided with a resource ID, import indicates that this resource's provider should import its state from the cloud resource with the given ID.The inputs to the resource's constructor must align with the resource's current state.Once a resource has been imported, the import property must be removed from the resource's options.
    • build

      public CustomResourceOptions build()