Package com.oracle.bmc.gdp.model
Class GdpPipeline.Builder
- java.lang.Object
-
- com.oracle.bmc.gdp.model.GdpPipeline.Builder
-
- Enclosing class:
- GdpPipeline
public static class GdpPipeline.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GdpPipeline.BuilderapprovalKeyVaultId(String approvalKeyVaultId)The KMS vault OCID for the key to be used for file transfer approvals.GdpPipeline.BuilderauthorizationDetails(String authorizationDetails)Authorization information about the pipeline being configured.GdpPipeline.BuilderbucketDetails(List<BucketDetailsDefinition> bucketDetails)Information about the bucket in the pipeline being configured.GdpPipelinebuild()GdpPipeline.BuildercompartmentId(String compartmentId)The OCID of the compartment.GdpPipeline.Buildercopy(GdpPipeline model)GdpPipeline.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.GdpPipeline.Builderdescription(String description)Short field input by customer for a description of the data pipeline use-case.GdpPipeline.BuilderdisplayName(String displayName)Pipeline short name.GdpPipeline.BuilderfileTypes(List<String> fileTypes)List of file types allowed to be transferred in the pipeline according to the authorization details (e.g.GdpPipeline.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.GdpPipeline.Builderid(String id)The OCID of the pipeline.GdpPipeline.BuilderisApprovalNeeded(Boolean isApprovalNeeded)Determines whether file transfers need to go through an approval workflow.GdpPipeline.BuilderisChunkingEnabled(Boolean isChunkingEnabled)Determines whether file must be chunked during the transfer.GdpPipeline.BuilderisFileOverrideInDestinationEnabled(Boolean isFileOverrideInDestinationEnabled)Enable file override feature in destination bucketGdpPipeline.BuilderisScanningEnabled(Boolean isScanningEnabled)Determines whether GDP Scanning should be enabled for the pipeline.GdpPipeline.BuilderlifecycleDetails(String lifecycleDetails)Additional details about the current state of the pipeline.GdpPipeline.BuilderlifecycleState(GdpPipeline.LifecycleState lifecycleState)The current state of the pipeline.GdpPipeline.BuilderpeeredGdpPipelineId(String peeredGdpPipelineId)OCID of the peered pipeline.GdpPipeline.BuilderpeeringRegion(String peeringRegion)Public region name where the peered pipeline exists.GdpPipeline.BuilderpipelineType(GdpPipeline.PipelineType pipelineType)Type of pipeline.GdpPipeline.BuilderserviceLogGroupId(String serviceLogGroupId)the OCID of the service log group.GdpPipeline.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.GdpPipeline.BuildertimeCreated(Date timeCreated)The time the the pipeline was created.GdpPipeline.BuildertimeUpdated(Date timeUpdated)The time the pipeline was updated.
-
-
-
Method Detail
-
id
public GdpPipeline.Builder id(String id)
The OCID of the pipeline.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public GdpPipeline.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public GdpPipeline.Builder lifecycleState(GdpPipeline.LifecycleState lifecycleState)
The current state of the pipeline.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public GdpPipeline.Builder lifecycleDetails(String lifecycleDetails)
Additional details about the current state of the pipeline.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
displayName
public GdpPipeline.Builder displayName(String displayName)
Pipeline short name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public GdpPipeline.Builder description(String description)
Short field input by customer for a description of the data pipeline use-case.- Parameters:
description- the value to set- Returns:
- this builder
-
serviceLogGroupId
public GdpPipeline.Builder serviceLogGroupId(String serviceLogGroupId)
the OCID of the service log group.- Parameters:
serviceLogGroupId- the value to set- Returns:
- this builder
-
pipelineType
public GdpPipeline.Builder pipelineType(GdpPipeline.PipelineType pipelineType)
Type of pipeline.Can be SENDER or RECEIVER.
- Parameters:
pipelineType- the value to set- Returns:
- this builder
-
fileTypes
public GdpPipeline.Builder fileTypes(List<String> fileTypes)
List of file types allowed to be transferred in the pipeline according to the authorization details (e.g..pdf, .xml, .doc).
- Parameters:
fileTypes- the value to set- Returns:
- this builder
-
authorizationDetails
public GdpPipeline.Builder authorizationDetails(String authorizationDetails)
Authorization information about the pipeline being configured.- Parameters:
authorizationDetails- the value to set- Returns:
- this builder
-
bucketDetails
public GdpPipeline.Builder bucketDetails(List<BucketDetailsDefinition> bucketDetails)
Information about the bucket in the pipeline being configured.- Parameters:
bucketDetails- the value to set- Returns:
- this builder
-
peeringRegion
public GdpPipeline.Builder peeringRegion(String peeringRegion)
Public region name where the peered pipeline exists.- Parameters:
peeringRegion- the value to set- Returns:
- this builder
-
peeredGdpPipelineId
public GdpPipeline.Builder peeredGdpPipelineId(String peeredGdpPipelineId)
OCID of the peered pipeline.- Parameters:
peeredGdpPipelineId- the value to set- Returns:
- this builder
-
timeCreated
public GdpPipeline.Builder timeCreated(Date timeCreated)
The time the the pipeline was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public GdpPipeline.Builder timeUpdated(Date timeUpdated)
The time the pipeline was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
isFileOverrideInDestinationEnabled
public GdpPipeline.Builder isFileOverrideInDestinationEnabled(Boolean isFileOverrideInDestinationEnabled)
Enable file override feature in destination bucket- Parameters:
isFileOverrideInDestinationEnabled- the value to set- Returns:
- this builder
-
isScanningEnabled
public GdpPipeline.Builder isScanningEnabled(Boolean isScanningEnabled)
Determines whether GDP Scanning should be enabled for the pipeline.- Parameters:
isScanningEnabled- the value to set- Returns:
- this builder
-
isChunkingEnabled
public GdpPipeline.Builder isChunkingEnabled(Boolean isChunkingEnabled)
Determines whether file must be chunked during the transfer.This is only a property of SENDER pipelines.
- Parameters:
isChunkingEnabled- the value to set- Returns:
- this builder
-
isApprovalNeeded
public GdpPipeline.Builder isApprovalNeeded(Boolean isApprovalNeeded)
Determines whether file transfers need to go through an approval workflow.- Parameters:
isApprovalNeeded- the value to set- Returns:
- this builder
-
approvalKeyVaultId
public GdpPipeline.Builder approvalKeyVaultId(String approvalKeyVaultId)
The KMS vault OCID for the key to be used for file transfer approvals.- Parameters:
approvalKeyVaultId- the value to set- Returns:
- this builder
-
freeformTags
public GdpPipeline.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public GdpPipeline.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public GdpPipeline.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public GdpPipeline build()
-
copy
public GdpPipeline.Builder copy(GdpPipeline model)
-
-