Class DataGoogleStorageBucketObjectContent.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_storage_bucket_object_content.DataGoogleStorageBucketObjectContent.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleStorageBucketObjectContent>
- Enclosing class:
- DataGoogleStorageBucketObjectContent
@Stability(Stable) public static final class DataGoogleStorageBucketObjectContent.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleStorageBucketObjectContent>
A fluent builder forDataGoogleStorageBucketObjectContent.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleStorageBucketObjectContent.Builderbucket(String bucket)The name of the containing bucket.DataGoogleStorageBucketObjectContentbuild()DataGoogleStorageBucketObjectContent.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleStorageBucketObjectContent.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleStorageBucketObjectContent.Buildercontent(String content)Data as string to be uploaded.DataGoogleStorageBucketObjectContent.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleStorageBucketObjectContent.Buildercount(Number count)static DataGoogleStorageBucketObjectContent.Buildercreate(software.constructs.Construct scope, String id)DataGoogleStorageBucketObjectContent.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleStorageBucketObjectContent.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleStorageBucketObjectContent.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_bucket_object_content#id DataGoogleStorageBucketObjectContent#id}.DataGoogleStorageBucketObjectContent.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleStorageBucketObjectContent.Buildername(String name)The name of the object.DataGoogleStorageBucketObjectContent.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleStorageBucketObjectContent.Builderprovisioners(List<? extends Object> provisioners)
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleStorageBucketObjectContent.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
DataGoogleStorageBucketObjectContent.Builder.
-
connection
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleStorageBucketObjectContent.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
bucket
@Stability(Stable) public DataGoogleStorageBucketObjectContent.Builder bucket(String bucket)
The name of the containing bucket.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_bucket_object_content#bucket DataGoogleStorageBucketObjectContent#bucket}
- Parameters:
bucket- The name of the containing bucket. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DataGoogleStorageBucketObjectContent.Builder name(String name)
The name of the object. If you're interpolating the name of this object, see output_name instead.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_bucket_object_content#name DataGoogleStorageBucketObjectContent#name}
- Parameters:
name- The name of the object. If you're interpolating the name of this object, see output_name instead. This parameter is required.- Returns:
this
-
content
@Stability(Stable) public DataGoogleStorageBucketObjectContent.Builder content(String content)
Data as string to be uploaded.Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_bucket_object_content#content DataGoogleStorageBucketObjectContent#content}
- Parameters:
content- Data as string to be uploaded. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleStorageBucketObjectContent.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_bucket_object_content#id DataGoogleStorageBucketObjectContent#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/data-sources/storage_bucket_object_content#id DataGoogleStorageBucketObjectContent#id}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleStorageBucketObjectContent build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleStorageBucketObjectContent>- Returns:
- a newly built instance of
DataGoogleStorageBucketObjectContent.
-
-