Class CloudAssetOrganizationFeed.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_asset_organization_feed.CloudAssetOrganizationFeed.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudAssetOrganizationFeed>
- Enclosing class:
- CloudAssetOrganizationFeed
@Stability(Stable) public static final class CloudAssetOrganizationFeed.Builder extends Object implements software.amazon.jsii.Builder<CloudAssetOrganizationFeed>
A fluent builder forCloudAssetOrganizationFeed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudAssetOrganizationFeed.BuilderassetNames(List<String> assetNames)A list of the full names of the assets to receive updates.CloudAssetOrganizationFeed.BuilderassetTypes(List<String> assetTypes)A list of types of the assets to receive updates.CloudAssetOrganizationFeed.BuilderbillingProject(String billingProject)The project whose identity will be used when sending messages to the destination pubsub topic.CloudAssetOrganizationFeedbuild()CloudAssetOrganizationFeed.Buildercondition(CloudAssetOrganizationFeedCondition condition)condition block.CloudAssetOrganizationFeed.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)CloudAssetOrganizationFeed.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)CloudAssetOrganizationFeed.BuildercontentType(String contentType)Asset content type.CloudAssetOrganizationFeed.Buildercount(com.hashicorp.cdktf.TerraformCount count)CloudAssetOrganizationFeed.Buildercount(Number count)static CloudAssetOrganizationFeed.Buildercreate(software.constructs.Construct scope, String id)CloudAssetOrganizationFeed.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)CloudAssetOrganizationFeed.BuilderfeedId(String feedId)This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.CloudAssetOrganizationFeed.BuilderfeedOutputConfig(CloudAssetOrganizationFeedFeedOutputConfig feedOutputConfig)feed_output_config block.CloudAssetOrganizationFeed.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)CloudAssetOrganizationFeed.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#id CloudAssetOrganizationFeed#id}.CloudAssetOrganizationFeed.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)CloudAssetOrganizationFeed.BuilderorgId(String orgId)The organization this feed should be created in.CloudAssetOrganizationFeed.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)CloudAssetOrganizationFeed.Builderprovisioners(List<? extends Object> provisioners)CloudAssetOrganizationFeed.Buildertimeouts(CloudAssetOrganizationFeedTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static CloudAssetOrganizationFeed.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
CloudAssetOrganizationFeed.Builder.
-
connection
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public CloudAssetOrganizationFeed.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
billingProject
@Stability(Stable) public CloudAssetOrganizationFeed.Builder billingProject(String 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#billing_project CloudAssetOrganizationFeed#billing_project}
- Parameters:
billingProject- The project whose identity will be used when sending messages to the destination pubsub topic. This parameter is required.- Returns:
this
-
feedId
@Stability(Stable) public CloudAssetOrganizationFeed.Builder feedId(String feedId)
This is the client-assigned asset feed identifier and it needs to be unique under a specific parent.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#feed_id CloudAssetOrganizationFeed#feed_id}
- Parameters:
feedId- This is the client-assigned asset feed identifier and it needs to be unique under a specific parent. This parameter is required.- Returns:
this
-
feedOutputConfig
@Stability(Stable) public CloudAssetOrganizationFeed.Builder feedOutputConfig(CloudAssetOrganizationFeedFeedOutputConfig feedOutputConfig)
feed_output_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#feed_output_config CloudAssetOrganizationFeed#feed_output_config}
- Parameters:
feedOutputConfig- feed_output_config block. This parameter is required.- Returns:
this
-
orgId
@Stability(Stable) public CloudAssetOrganizationFeed.Builder orgId(String orgId)
The organization this feed should be created in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#org_id CloudAssetOrganizationFeed#org_id}
- Parameters:
orgId- The organization this feed should be created in. This parameter is required.- Returns:
this
-
assetNames
@Stability(Stable) public CloudAssetOrganizationFeed.Builder assetNames(List<String> 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#asset_names CloudAssetOrganizationFeed#asset_names}
- Parameters:
assetNames- A list of the full names of the assets to receive updates. This parameter is required.- Returns:
this
-
assetTypes
@Stability(Stable) public CloudAssetOrganizationFeed.Builder assetTypes(List<String> 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#asset_types CloudAssetOrganizationFeed#asset_types}
- Parameters:
assetTypes- A list of types of the assets to receive updates. This parameter is required.- Returns:
this
-
condition
@Stability(Stable) public CloudAssetOrganizationFeed.Builder condition(CloudAssetOrganizationFeedCondition condition)
condition block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#condition CloudAssetOrganizationFeed#condition}
- Parameters:
condition- condition block. This parameter is required.- Returns:
this
-
contentType
@Stability(Stable) public CloudAssetOrganizationFeed.Builder contentType(String contentType)
Asset content type.If not specified, no content but the asset name and type will be returned. Possible values: ["CONTENT_TYPE_UNSPECIFIED", "RESOURCE", "IAM_POLICY", "ORG_POLICY", "OS_INVENTORY", "ACCESS_POLICY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#content_type CloudAssetOrganizationFeed#content_type}
- Parameters:
contentType- Asset content type. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public CloudAssetOrganizationFeed.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#id CloudAssetOrganizationFeed#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#id CloudAssetOrganizationFeed#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public CloudAssetOrganizationFeed.Builder timeouts(CloudAssetOrganizationFeedTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_asset_organization_feed#timeouts CloudAssetOrganizationFeed#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CloudAssetOrganizationFeed build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudAssetOrganizationFeed>- Returns:
- a newly built instance of
CloudAssetOrganizationFeed.
-
-