Class ComponentState.Builder

  • Enclosing class:
    ComponentState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ComponentState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - (Required) Amazon Resource Name (ARN) of the component.
        Returns:
        builder
      • arn

        public ComponentState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - (Required) Amazon Resource Name (ARN) of the component.
        Returns:
        builder
      • changeDescription

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

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

        public ComponentState.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 ComponentState.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
      • dateCreated

        public ComponentState.Builder dateCreated​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> dateCreated)
        Parameters:
        dateCreated - Date the component was created.
        Returns:
        builder
      • dateCreated

        public ComponentState.Builder dateCreated​(java.lang.String dateCreated)
        Parameters:
        dateCreated - Date the component was created.
        Returns:
        builder
      • description

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

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

        public ComponentState.Builder encrypted​(@Nullable
                                                com.pulumi.core.Output<java.lang.Boolean> encrypted)
        Parameters:
        encrypted - Encryption status of the component.
        Returns:
        builder
      • encrypted

        public ComponentState.Builder encrypted​(java.lang.Boolean encrypted)
        Parameters:
        encrypted - Encryption status of the component.
        Returns:
        builder
      • kmsKeyId

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

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

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

        public ComponentState.Builder owner​(java.lang.String owner)
        Parameters:
        owner - Owner of the component.
        Returns:
        builder
      • platform

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

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

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

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

        public ComponentState.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 ComponentState.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
      • tagsAll

        @Deprecated
        public ComponentState.Builder tagsAll​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ComponentState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • type

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

        public ComponentState.Builder type​(java.lang.String type)
        Parameters:
        type - Type of the component.
        Returns:
        builder
      • uri

        public ComponentState.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 ComponentState.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 ComponentState.Builder version​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> version)
        Parameters:
        version - Version of the component. The following attributes are optional:
        Returns:
        builder
      • version

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