Class DataGoogleStorageObjectSignedUrlConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_storage_object_signed_url.DataGoogleStorageObjectSignedUrlConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleStorageObjectSignedUrlConfig>
- Enclosing interface:
- DataGoogleStorageObjectSignedUrlConfig
@Stability(Stable) public static final class DataGoogleStorageObjectSignedUrlConfig.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleStorageObjectSignedUrlConfig>
A builder forDataGoogleStorageObjectSignedUrlConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
bucket
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder bucket(String bucket)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getBucket()- Parameters:
bucket- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#bucket DataGoogleStorageObjectSignedUrl#bucket}. This parameter is required.- Returns:
this
-
path
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder path(String path)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getPath()- Parameters:
path- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#path DataGoogleStorageObjectSignedUrl#path}. This parameter is required.- Returns:
this
-
contentMd5
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder contentMd5(String contentMd5)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getContentMd5()- Parameters:
contentMd5- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#content_md5 DataGoogleStorageObjectSignedUrl#content_md5}.- Returns:
this
-
contentType
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder contentType(String contentType)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getContentType()- Parameters:
contentType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#content_type DataGoogleStorageObjectSignedUrl#content_type}.- Returns:
this
-
credentials
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder credentials(String credentials)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getCredentials()- Parameters:
credentials- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#credentials DataGoogleStorageObjectSignedUrl#credentials}.- Returns:
this
-
duration
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder duration(String duration)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getDuration()- Parameters:
duration- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#duration DataGoogleStorageObjectSignedUrl#duration}.- Returns:
this
-
extensionHeaders
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder extensionHeaders(Map<String,String> extensionHeaders)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getExtensionHeaders()- Parameters:
extensionHeaders- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#extension_headers DataGoogleStorageObjectSignedUrl#extension_headers}.- Returns:
this
-
httpMethod
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder httpMethod(String httpMethod)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getHttpMethod()- Parameters:
httpMethod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#http_method DataGoogleStorageObjectSignedUrl#http_method}.- Returns:
this
-
id
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig.Builder id(String id)
Sets the value ofDataGoogleStorageObjectSignedUrlConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/storage_object_signed_url#id DataGoogleStorageObjectSignedUrl#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.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleStorageObjectSignedUrlConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataGoogleStorageObjectSignedUrlConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleStorageObjectSignedUrlConfig>- Returns:
- a new instance of
DataGoogleStorageObjectSignedUrlConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-