Class ComponentArgs.Builder

  • Enclosing class:
    ComponentArgs

    public static final class ComponentArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • changeDescription

        public ComponentArgs.Builder changeDescription​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> changeDescription)
        Parameters:
        changeDescription - Change description of the component.
        Returns:
        builder
      • changeDescription

        public ComponentArgs.Builder changeDescription​(java.lang.String changeDescription)
        Parameters:
        changeDescription - Change description of the component.
        Returns:
        builder
      • data

        public ComponentArgs.Builder data​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> data)
        Parameters:
        data - Inline YAML string with data of the component. Exactly one of `data` and `uri` can be specified. the provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • data

        public ComponentArgs.Builder data​(java.lang.String data)
        Parameters:
        data - Inline YAML string with data of the component. Exactly one of `data` and `uri` can be specified. the provider will only perform drift detection of its value when present in a configuration.
        Returns:
        builder
      • description

        public ComponentArgs.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the component.
        Returns:
        builder
      • description

        public ComponentArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the component.
        Returns:
        builder
      • kmsKeyId

        public ComponentArgs.Builder kmsKeyId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
        Returns:
        builder
      • kmsKeyId

        public ComponentArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
        Returns:
        builder
      • name

        public ComponentArgs.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the component.
        Returns:
        builder
      • name

        public ComponentArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the component.
        Returns:
        builder
      • platform

        public ComponentArgs.Builder platform​(com.pulumi.core.Output<java.lang.String> platform)
        Parameters:
        platform - Platform of the component.
        Returns:
        builder
      • platform

        public ComponentArgs.Builder platform​(java.lang.String platform)
        Parameters:
        platform - Platform of the component.
        Returns:
        builder
      • skipDestroy

        public ComponentArgs.Builder skipDestroy​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
        Parameters:
        skipDestroy - Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to `false`.
        Returns:
        builder
      • skipDestroy

        public ComponentArgs.Builder skipDestroy​(java.lang.Boolean skipDestroy)
        Parameters:
        skipDestroy - Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to `false`.
        Returns:
        builder
      • supportedOsVersions

        public ComponentArgs.Builder supportedOsVersions​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> supportedOsVersions)
        Parameters:
        supportedOsVersions - Set of Operating Systems (OS) supported by the component.
        Returns:
        builder
      • supportedOsVersions

        public ComponentArgs.Builder supportedOsVersions​(java.util.List<java.lang.String> supportedOsVersions)
        Parameters:
        supportedOsVersions - Set of Operating Systems (OS) supported by the component.
        Returns:
        builder
      • supportedOsVersions

        public ComponentArgs.Builder supportedOsVersions​(java.lang.String... supportedOsVersions)
        Parameters:
        supportedOsVersions - Set of Operating Systems (OS) supported by the component.
        Returns:
        builder
      • tags

        public ComponentArgs.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags for the component. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ComponentArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags for the component. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • uri

        public ComponentArgs.Builder uri​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> uri)
        Parameters:
        uri - S3 URI with data of the component. Exactly one of `data` and `uri` can be specified. > **NOTE:** Updating `data` or `uri` requires specifying a new `version`. This causes replacement of the resource. The `skip_destroy` argument can be used to retain the old version.
        Returns:
        builder
      • uri

        public ComponentArgs.Builder uri​(java.lang.String uri)
        Parameters:
        uri - S3 URI with data of the component. Exactly one of `data` and `uri` can be specified. > **NOTE:** Updating `data` or `uri` requires specifying a new `version`. This causes replacement of the resource. The `skip_destroy` argument can be used to retain the old version.
        Returns:
        builder
      • version

        public ComponentArgs.Builder version​(com.pulumi.core.Output<java.lang.String> version)
        Parameters:
        version - Version of the component. The following attributes are optional:
        Returns:
        builder
      • version

        public ComponentArgs.Builder version​(java.lang.String version)
        Parameters:
        version - Version of the component. The following attributes are optional:
        Returns:
        builder