Class FolderFeedState.Builder

  • Enclosing class:
    FolderFeedState

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

      • Builder

        public Builder()
    • Method Detail

      • assetNames

        public FolderFeedState.Builder assetNames​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> assetNames)
        Parameters:
        assetNames - A list of the full names of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.
        Returns:
        builder
      • assetNames

        public FolderFeedState.Builder assetNames​(java.util.List<java.lang.String> assetNames)
        Parameters:
        assetNames - A list of the full names of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.
        Returns:
        builder
      • assetNames

        public FolderFeedState.Builder assetNames​(java.lang.String... assetNames)
        Parameters:
        assetNames - A list of the full names of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.
        Returns:
        builder
      • assetTypes

        public FolderFeedState.Builder assetTypes​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> assetTypes)
        Parameters:
        assetTypes - A list of types of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to the feed. For example: "compute.googleapis.com/Disk" See https://cloud.google.com/asset-inventory/docs/supported-asset-types for a list of all supported asset types.
        Returns:
        builder
      • assetTypes

        public FolderFeedState.Builder assetTypes​(java.util.List<java.lang.String> assetTypes)
        Parameters:
        assetTypes - A list of types of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to the feed. For example: "compute.googleapis.com/Disk" See https://cloud.google.com/asset-inventory/docs/supported-asset-types for a list of all supported asset types.
        Returns:
        builder
      • assetTypes

        public FolderFeedState.Builder assetTypes​(java.lang.String... assetTypes)
        Parameters:
        assetTypes - A list of types of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to the feed. For example: "compute.googleapis.com/Disk" See https://cloud.google.com/asset-inventory/docs/supported-asset-types for a list of all supported asset types.
        Returns:
        builder
      • billingProject

        public FolderFeedState.Builder billingProject​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> billingProject)
        Parameters:
        billingProject - The project whose identity will be used when sending messages to the destination pubsub topic. It also specifies the project for API enablement check, quota, and billing.
        Returns:
        builder
      • billingProject

        public FolderFeedState.Builder billingProject​(java.lang.String billingProject)
        Parameters:
        billingProject - The project whose identity will be used when sending messages to the destination pubsub topic. It also specifies the project for API enablement check, quota, and billing.
        Returns:
        builder
      • condition

        public FolderFeedState.Builder condition​(@Nullable
                                                 com.pulumi.core.Output<FolderFeedConditionArgs> condition)
        Parameters:
        condition - A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, expression field must be a valid CEL expression on a TemporalAsset with name temporal_asset. Example: a Feed with expression "temporal_asset.deleted == true" will only publish Asset deletions. Other fields of condition are optional. Structure is documented below.
        Returns:
        builder
      • condition

        public FolderFeedState.Builder condition​(FolderFeedConditionArgs condition)
        Parameters:
        condition - A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, expression field must be a valid CEL expression on a TemporalAsset with name temporal_asset. Example: a Feed with expression "temporal_asset.deleted == true" will only publish Asset deletions. Other fields of condition are optional. Structure is documented below.
        Returns:
        builder
      • contentType

        public FolderFeedState.Builder contentType​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> contentType)
        Parameters:
        contentType - Asset content type. If not specified, no content but the asset name and type will be returned. Possible values are: `CONTENT_TYPE_UNSPECIFIED`, `RESOURCE`, `IAM_POLICY`, `ORG_POLICY`, `OS_INVENTORY`, `ACCESS_POLICY`.
        Returns:
        builder
      • contentType

        public FolderFeedState.Builder contentType​(java.lang.String contentType)
        Parameters:
        contentType - Asset content type. If not specified, no content but the asset name and type will be returned. Possible values are: `CONTENT_TYPE_UNSPECIFIED`, `RESOURCE`, `IAM_POLICY`, `ORG_POLICY`, `OS_INVENTORY`, `ACCESS_POLICY`.
        Returns:
        builder
      • feedId

        public FolderFeedState.Builder feedId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> feedId)
        Parameters:
        feedId - This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
        Returns:
        builder
      • feedId

        public FolderFeedState.Builder feedId​(java.lang.String feedId)
        Parameters:
        feedId - This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.
        Returns:
        builder
      • feedOutputConfig

        public FolderFeedState.Builder feedOutputConfig​(@Nullable
                                                        com.pulumi.core.Output<FolderFeedFeedOutputConfigArgs> feedOutputConfig)
        Parameters:
        feedOutputConfig - Output configuration for asset feed destination. Structure is documented below.
        Returns:
        builder
      • folder

        public FolderFeedState.Builder folder​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> folder)
        Parameters:
        folder - The folder this feed should be created in.
        Returns:
        builder
      • folder

        public FolderFeedState.Builder folder​(java.lang.String folder)
        Parameters:
        folder - The folder this feed should be created in.
        Returns:
        builder
      • folderId

        public FolderFeedState.Builder folderId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> folderId)
        Parameters:
        folderId - The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
        Returns:
        builder
      • folderId

        public FolderFeedState.Builder folderId​(java.lang.String folderId)
        Parameters:
        folderId - The ID of the folder where this feed has been created. Both [FOLDER_NUMBER] and folders/[FOLDER_NUMBER] are accepted.
        Returns:
        builder
      • name

        public FolderFeedState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
        Returns:
        builder
      • name

        public FolderFeedState.Builder name​(java.lang.String name)
        Parameters:
        name - The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
        Returns:
        builder