Class StorageTransferJobTransferSpecObjectConditions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_transfer_job.StorageTransferJobTransferSpecObjectConditions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTransferJobTransferSpecObjectConditions>
- Enclosing interface:
- StorageTransferJobTransferSpecObjectConditions
@Stability(Stable) public static final class StorageTransferJobTransferSpecObjectConditions.Builder extends Object implements software.amazon.jsii.Builder<StorageTransferJobTransferSpecObjectConditions>
A builder forStorageTransferJobTransferSpecObjectConditions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
excludePrefixes
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions.Builder excludePrefixes(List<String> excludePrefixes)
Sets the value ofStorageTransferJobTransferSpecObjectConditions.getExcludePrefixes()- Parameters:
excludePrefixes- exclude_prefixes must follow the requirements described for include_prefixes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#exclude_prefixes StorageTransferJob#exclude_prefixes}- Returns:
this
-
includePrefixes
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions.Builder includePrefixes(List<String> includePrefixes)
Sets the value ofStorageTransferJobTransferSpecObjectConditions.getIncludePrefixes()- Parameters:
includePrefixes- If include_refixes is specified, objects that satisfy the object conditions must have names that start with one of the include_prefixes and that do not start with any of the exclude_prefixes. If include_prefixes is not specified, all objects except those that have names starting with one of the exclude_prefixes must satisfy the object conditions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#include_prefixes StorageTransferJob#include_prefixes}- Returns:
this
-
lastModifiedBefore
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions.Builder lastModifiedBefore(String lastModifiedBefore)
Sets the value ofStorageTransferJobTransferSpecObjectConditions.getLastModifiedBefore()- Parameters:
lastModifiedBefore- If specified, only objects with a "last modification time" before this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#last_modified_before StorageTransferJob#last_modified_before}- Returns:
this
-
lastModifiedSince
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions.Builder lastModifiedSince(String lastModifiedSince)
Sets the value ofStorageTransferJobTransferSpecObjectConditions.getLastModifiedSince()- Parameters:
lastModifiedSince- If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#last_modified_since StorageTransferJob#last_modified_since}- Returns:
this
-
maxTimeElapsedSinceLastModification
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions.Builder maxTimeElapsedSinceLastModification(String maxTimeElapsedSinceLastModification)
Sets the value ofStorageTransferJobTransferSpecObjectConditions.getMaxTimeElapsedSinceLastModification()- Parameters:
maxTimeElapsedSinceLastModification- A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#max_time_elapsed_since_last_modification StorageTransferJob#max_time_elapsed_since_last_modification}- Returns:
this
-
minTimeElapsedSinceLastModification
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions.Builder minTimeElapsedSinceLastModification(String minTimeElapsedSinceLastModification)
Sets the value ofStorageTransferJobTransferSpecObjectConditions.getMinTimeElapsedSinceLastModification()- Parameters:
minTimeElapsedSinceLastModification- A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#min_time_elapsed_since_last_modification StorageTransferJob#min_time_elapsed_since_last_modification}- Returns:
this
-
build
@Stability(Stable) public StorageTransferJobTransferSpecObjectConditions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTransferJobTransferSpecObjectConditions>- Returns:
- a new instance of
StorageTransferJobTransferSpecObjectConditions - Throws:
NullPointerException- if any required attribute was not provided
-
-