Class StorageTransferJobTransferSpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_transfer_job.StorageTransferJobTransferSpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTransferJobTransferSpec>
- Enclosing interface:
- StorageTransferJobTransferSpec
@Stability(Stable) public static final class StorageTransferJobTransferSpec.Builder extends Object implements software.amazon.jsii.Builder<StorageTransferJobTransferSpec>
A builder forStorageTransferJobTransferSpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
awsS3DataSource
@Stability(Stable) public StorageTransferJobTransferSpec.Builder awsS3DataSource(StorageTransferJobTransferSpecAwsS3DataSource awsS3DataSource)
Sets the value ofStorageTransferJobTransferSpec.getAwsS3DataSource()- Parameters:
awsS3DataSource- aws_s3_data_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#aws_s3_data_source StorageTransferJob#aws_s3_data_source}- Returns:
this
-
azureBlobStorageDataSource
@Stability(Stable) public StorageTransferJobTransferSpec.Builder azureBlobStorageDataSource(StorageTransferJobTransferSpecAzureBlobStorageDataSource azureBlobStorageDataSource)
Sets the value ofStorageTransferJobTransferSpec.getAzureBlobStorageDataSource()- Parameters:
azureBlobStorageDataSource- azure_blob_storage_data_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#azure_blob_storage_data_source StorageTransferJob#azure_blob_storage_data_source}- Returns:
this
-
gcsDataSink
@Stability(Stable) public StorageTransferJobTransferSpec.Builder gcsDataSink(StorageTransferJobTransferSpecGcsDataSink gcsDataSink)
Sets the value ofStorageTransferJobTransferSpec.getGcsDataSink()- Parameters:
gcsDataSink- gcs_data_sink block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#gcs_data_sink StorageTransferJob#gcs_data_sink}- Returns:
this
-
gcsDataSource
@Stability(Stable) public StorageTransferJobTransferSpec.Builder gcsDataSource(StorageTransferJobTransferSpecGcsDataSource gcsDataSource)
Sets the value ofStorageTransferJobTransferSpec.getGcsDataSource()- Parameters:
gcsDataSource- gcs_data_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#gcs_data_source StorageTransferJob#gcs_data_source}- Returns:
this
-
httpDataSource
@Stability(Stable) public StorageTransferJobTransferSpec.Builder httpDataSource(StorageTransferJobTransferSpecHttpDataSource httpDataSource)
Sets the value ofStorageTransferJobTransferSpec.getHttpDataSource()- Parameters:
httpDataSource- http_data_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#http_data_source StorageTransferJob#http_data_source}- Returns:
this
-
objectConditions
@Stability(Stable) public StorageTransferJobTransferSpec.Builder objectConditions(StorageTransferJobTransferSpecObjectConditions objectConditions)
Sets the value ofStorageTransferJobTransferSpec.getObjectConditions()- Parameters:
objectConditions- object_conditions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#object_conditions StorageTransferJob#object_conditions}- Returns:
this
-
posixDataSink
@Stability(Stable) public StorageTransferJobTransferSpec.Builder posixDataSink(StorageTransferJobTransferSpecPosixDataSink posixDataSink)
Sets the value ofStorageTransferJobTransferSpec.getPosixDataSink()- Parameters:
posixDataSink- posix_data_sink block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#posix_data_sink StorageTransferJob#posix_data_sink}- Returns:
this
-
posixDataSource
@Stability(Stable) public StorageTransferJobTransferSpec.Builder posixDataSource(StorageTransferJobTransferSpecPosixDataSource posixDataSource)
Sets the value ofStorageTransferJobTransferSpec.getPosixDataSource()- Parameters:
posixDataSource- posix_data_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#posix_data_source StorageTransferJob#posix_data_source}- Returns:
this
-
sinkAgentPoolName
@Stability(Stable) public StorageTransferJobTransferSpec.Builder sinkAgentPoolName(String sinkAgentPoolName)
Sets the value ofStorageTransferJobTransferSpec.getSinkAgentPoolName()- Parameters:
sinkAgentPoolName- Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#sink_agent_pool_name StorageTransferJob#sink_agent_pool_name}- Returns:
this
-
sourceAgentPoolName
@Stability(Stable) public StorageTransferJobTransferSpec.Builder sourceAgentPoolName(String sourceAgentPoolName)
Sets the value ofStorageTransferJobTransferSpec.getSourceAgentPoolName()- Parameters:
sourceAgentPoolName- Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#source_agent_pool_name StorageTransferJob#source_agent_pool_name}- Returns:
this
-
transferOptions
@Stability(Stable) public StorageTransferJobTransferSpec.Builder transferOptions(StorageTransferJobTransferSpecTransferOptions transferOptions)
Sets the value ofStorageTransferJobTransferSpec.getTransferOptions()- Parameters:
transferOptions- transfer_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#transfer_options StorageTransferJob#transfer_options}- Returns:
this
-
build
@Stability(Stable) public StorageTransferJobTransferSpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTransferJobTransferSpec>- Returns:
- a new instance of
StorageTransferJobTransferSpec - Throws:
NullPointerException- if any required attribute was not provided
-
-