Class StorageTransferJob.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_transfer_job.StorageTransferJob.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTransferJob>
- Enclosing class:
- StorageTransferJob
@Stability(Stable) public static final class StorageTransferJob.Builder extends Object implements software.amazon.jsii.Builder<StorageTransferJob>
A fluent builder forStorageTransferJob.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageTransferJobbuild()StorageTransferJob.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)StorageTransferJob.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)StorageTransferJob.Buildercount(com.hashicorp.cdktf.TerraformCount count)StorageTransferJob.Buildercount(Number count)static StorageTransferJob.Buildercreate(software.constructs.Construct scope, String id)StorageTransferJob.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)StorageTransferJob.Builderdescription(String description)Unique description to identify the Transfer Job.StorageTransferJob.BuildereventStream(StorageTransferJobEventStream eventStream)event_stream block.StorageTransferJob.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)StorageTransferJob.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#id StorageTransferJob#id}.StorageTransferJob.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)StorageTransferJob.Buildername(String name)The name of the Transfer Job.StorageTransferJob.BuildernotificationConfig(StorageTransferJobNotificationConfig notificationConfig)notification_config block.StorageTransferJob.Builderproject(String project)The project in which the resource belongs.StorageTransferJob.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)StorageTransferJob.Builderprovisioners(List<? extends Object> provisioners)StorageTransferJob.Builderschedule(StorageTransferJobSchedule schedule)schedule block.StorageTransferJob.Builderstatus(String status)Status of the job.StorageTransferJob.BuildertransferSpec(StorageTransferJobTransferSpec transferSpec)transfer_spec block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static StorageTransferJob.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
StorageTransferJob.Builder.
-
connection
@Stability(Experimental) public StorageTransferJob.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public StorageTransferJob.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public StorageTransferJob.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public StorageTransferJob.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public StorageTransferJob.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public StorageTransferJob.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public StorageTransferJob.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public StorageTransferJob.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public StorageTransferJob.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
description
@Stability(Stable) public StorageTransferJob.Builder description(String description)
Unique description to identify the Transfer Job.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#description StorageTransferJob#description}
- Parameters:
description- Unique description to identify the Transfer Job. This parameter is required.- Returns:
this
-
transferSpec
@Stability(Stable) public StorageTransferJob.Builder transferSpec(StorageTransferJobTransferSpec transferSpec)
transfer_spec block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#transfer_spec StorageTransferJob#transfer_spec}
- Parameters:
transferSpec- transfer_spec block. This parameter is required.- Returns:
this
-
eventStream
@Stability(Stable) public StorageTransferJob.Builder eventStream(StorageTransferJobEventStream eventStream)
event_stream block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#event_stream StorageTransferJob#event_stream}
- Parameters:
eventStream- event_stream block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public StorageTransferJob.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#id StorageTransferJob#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/storage_transfer_job#id StorageTransferJob#id}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public StorageTransferJob.Builder name(String name)
The name of the Transfer Job.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#name StorageTransferJob#name}
- Parameters:
name- The name of the Transfer Job. This parameter is required.- Returns:
this
-
notificationConfig
@Stability(Stable) public StorageTransferJob.Builder notificationConfig(StorageTransferJobNotificationConfig notificationConfig)
notification_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#notification_config StorageTransferJob#notification_config}
- Parameters:
notificationConfig- notification_config block. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public StorageTransferJob.Builder project(String project)
The project in which the resource belongs. If it is not provided, the provider project is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#project StorageTransferJob#project}
- Parameters:
project- The project in which the resource belongs. If it is not provided, the provider project is used. This parameter is required.- Returns:
this
-
schedule
@Stability(Stable) public StorageTransferJob.Builder schedule(StorageTransferJobSchedule schedule)
schedule block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#schedule StorageTransferJob#schedule}
- Parameters:
schedule- schedule block. This parameter is required.- Returns:
this
-
status
@Stability(Stable) public StorageTransferJob.Builder status(String status)
Status of the job.Default: ENABLED. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#status StorageTransferJob#status}
- Parameters:
status- Status of the job. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public StorageTransferJob build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTransferJob>- Returns:
- a newly built instance of
StorageTransferJob.
-
-