Package com.pulumi.gcp.cloudasset.inputs
Class FolderFeedState.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudasset.inputs.FolderFeedState.Builder
-
- Enclosing class:
- FolderFeedState
public static final class FolderFeedState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FolderFeedState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderFeedState.Builder
assetNames(com.pulumi.core.Output<java.util.List<java.lang.String>> assetNames)
FolderFeedState.Builder
assetNames(java.lang.String... assetNames)
FolderFeedState.Builder
assetNames(java.util.List<java.lang.String> assetNames)
FolderFeedState.Builder
assetTypes(com.pulumi.core.Output<java.util.List<java.lang.String>> assetTypes)
FolderFeedState.Builder
assetTypes(java.lang.String... assetTypes)
FolderFeedState.Builder
assetTypes(java.util.List<java.lang.String> assetTypes)
FolderFeedState.Builder
billingProject(com.pulumi.core.Output<java.lang.String> billingProject)
FolderFeedState.Builder
billingProject(java.lang.String billingProject)
FolderFeedState
build()
FolderFeedState.Builder
condition(com.pulumi.core.Output<FolderFeedConditionArgs> condition)
FolderFeedState.Builder
condition(FolderFeedConditionArgs condition)
FolderFeedState.Builder
contentType(com.pulumi.core.Output<java.lang.String> contentType)
FolderFeedState.Builder
contentType(java.lang.String contentType)
FolderFeedState.Builder
feedId(com.pulumi.core.Output<java.lang.String> feedId)
FolderFeedState.Builder
feedId(java.lang.String feedId)
FolderFeedState.Builder
feedOutputConfig(com.pulumi.core.Output<FolderFeedFeedOutputConfigArgs> feedOutputConfig)
FolderFeedState.Builder
feedOutputConfig(FolderFeedFeedOutputConfigArgs feedOutputConfig)
FolderFeedState.Builder
folder(com.pulumi.core.Output<java.lang.String> folder)
FolderFeedState.Builder
folder(java.lang.String folder)
FolderFeedState.Builder
folderId(com.pulumi.core.Output<java.lang.String> folderId)
FolderFeedState.Builder
folderId(java.lang.String folderId)
FolderFeedState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
FolderFeedState.Builder
name(java.lang.String name)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FolderFeedState defaults)
-
-
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
-
feedOutputConfig
public FolderFeedState.Builder feedOutputConfig(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
-
build
public FolderFeedState build()
-
-