Package com.oracle.bmc.opensearch.model
Class OpensearchClusterPipeline.Builder
- java.lang.Object
-
- com.oracle.bmc.opensearch.model.OpensearchClusterPipeline.Builder
-
- Enclosing class:
- OpensearchClusterPipeline
public static class OpensearchClusterPipeline.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpensearchClusterPipelinebuild()OpensearchClusterPipeline.BuildercompartmentId(String compartmentId)The OCID of the compartment where the pipeline is located.OpensearchClusterPipeline.Buildercopy(OpensearchClusterPipeline model)OpensearchClusterPipeline.BuilderdataPrepperConfigurationBody(String dataPrepperConfigurationBody)The data prepper config in YAML format.OpensearchClusterPipeline.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OpensearchClusterPipeline.BuilderdisplayName(String displayName)The name of the pipeline.OpensearchClusterPipeline.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OpensearchClusterPipeline.Builderid(String id)The OCID of the cluster pipeline.OpensearchClusterPipeline.BuilderlifecycleState(OpensearchClusterPipeline.LifecycleState lifecycleState)The current state of the cluster backup.OpensearchClusterPipeline.BuildermemoryGB(Integer memoryGB)The amount of memory in GB, for each pipeline node.OpensearchClusterPipeline.BuildernodeCount(Integer nodeCount)The number of nodes configured for the pipeline.OpensearchClusterPipeline.BuildernodeShape(String nodeShape)The pipeline node shape.OpensearchClusterPipeline.BuildernsgId(String nsgId)The OCID of the NSG where the pipeline private endpoint vnic will be attached.OpensearchClusterPipeline.BuilderocpuCount(Integer ocpuCount)The number of OCPUs configured for each pipeline node.OpensearchClusterPipeline.BuilderopensearchPipelineFqdn(String opensearchPipelineFqdn)The fully qualified domain name (FQDN) for the cluster’s API endpoint.OpensearchClusterPipeline.BuilderopensearchPipelinePrivateIp(String opensearchPipelinePrivateIp)The pipeline’s private IP address.OpensearchClusterPipeline.BuilderpipelineConfigurationBody(String pipelineConfigurationBody)The pipeline configuration in YAML format.OpensearchClusterPipeline.BuilderpipelineMode(OpensearchClusterPipeline.PipelineMode pipelineMode)The current state of the pipeline.OpensearchClusterPipeline.BuilderreverseConnectionEndpoints(List<OpensearchPipelineReverseConnectionEndpoint> reverseConnectionEndpoints)The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.OpensearchClusterPipeline.BuildersubnetCompartmentId(String subnetCompartmentId)The OCID for the compartment where the pipeline’s subnet is located.OpensearchClusterPipeline.BuildersubnetId(String subnetId)The OCID of the pipeline’s subnet.OpensearchClusterPipeline.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.OpensearchClusterPipeline.BuildertimeCreated(Date timeCreated)The date and time the cluster pipeline was created.OpensearchClusterPipeline.BuildertimeUpdated(Date timeUpdated)The amount of time in milliseconds since the pipeline was updated.OpensearchClusterPipeline.BuildervcnCompartmentId(String vcnCompartmentId)The OCID for the compartment where the pipeline’s VCN is located.OpensearchClusterPipeline.BuildervcnId(String vcnId)The OCID of the pipeline’s VCN.
-
-
-
Method Detail
-
id
public OpensearchClusterPipeline.Builder id(String id)
The OCID of the cluster pipeline.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public OpensearchClusterPipeline.Builder displayName(String displayName)
The name of the pipeline.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public OpensearchClusterPipeline.Builder compartmentId(String compartmentId)
The OCID of the compartment where the pipeline is located.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
vcnId
public OpensearchClusterPipeline.Builder vcnId(String vcnId)
The OCID of the pipeline’s VCN.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
subnetId
public OpensearchClusterPipeline.Builder subnetId(String subnetId)
The OCID of the pipeline’s subnet.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
vcnCompartmentId
public OpensearchClusterPipeline.Builder vcnCompartmentId(String vcnCompartmentId)
The OCID for the compartment where the pipeline’s VCN is located.- Parameters:
vcnCompartmentId- the value to set- Returns:
- this builder
-
subnetCompartmentId
public OpensearchClusterPipeline.Builder subnetCompartmentId(String subnetCompartmentId)
The OCID for the compartment where the pipeline’s subnet is located.- Parameters:
subnetCompartmentId- the value to set- Returns:
- this builder
-
ocpuCount
public OpensearchClusterPipeline.Builder ocpuCount(Integer ocpuCount)
The number of OCPUs configured for each pipeline node.- Parameters:
ocpuCount- the value to set- Returns:
- this builder
-
memoryGB
public OpensearchClusterPipeline.Builder memoryGB(Integer memoryGB)
The amount of memory in GB, for each pipeline node.- Parameters:
memoryGB- the value to set- Returns:
- this builder
-
nodeCount
public OpensearchClusterPipeline.Builder nodeCount(Integer nodeCount)
The number of nodes configured for the pipeline.- Parameters:
nodeCount- the value to set- Returns:
- this builder
-
nodeShape
public OpensearchClusterPipeline.Builder nodeShape(String nodeShape)
The pipeline node shape.- Parameters:
nodeShape- the value to set- Returns:
- this builder
-
pipelineConfigurationBody
public OpensearchClusterPipeline.Builder pipelineConfigurationBody(String pipelineConfigurationBody)
The pipeline configuration in YAML format.The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \.
- Parameters:
pipelineConfigurationBody- the value to set- Returns:
- this builder
-
dataPrepperConfigurationBody
public OpensearchClusterPipeline.Builder dataPrepperConfigurationBody(String dataPrepperConfigurationBody)
The data prepper config in YAML format.The command accepts the data prepper config as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \.
- Parameters:
dataPrepperConfigurationBody- the value to set- Returns:
- this builder
-
opensearchPipelineFqdn
public OpensearchClusterPipeline.Builder opensearchPipelineFqdn(String opensearchPipelineFqdn)
The fully qualified domain name (FQDN) for the cluster’s API endpoint.- Parameters:
opensearchPipelineFqdn- the value to set- Returns:
- this builder
-
opensearchPipelinePrivateIp
public OpensearchClusterPipeline.Builder opensearchPipelinePrivateIp(String opensearchPipelinePrivateIp)
The pipeline’s private IP address.- Parameters:
opensearchPipelinePrivateIp- the value to set- Returns:
- this builder
-
lifecycleState
public OpensearchClusterPipeline.Builder lifecycleState(OpensearchClusterPipeline.LifecycleState lifecycleState)
The current state of the cluster backup.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
pipelineMode
public OpensearchClusterPipeline.Builder pipelineMode(OpensearchClusterPipeline.PipelineMode pipelineMode)
The current state of the pipeline.- Parameters:
pipelineMode- the value to set- Returns:
- this builder
-
timeCreated
public OpensearchClusterPipeline.Builder timeCreated(Date timeCreated)
The date and time the cluster pipeline was created.Format defined by RFC3339.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public OpensearchClusterPipeline.Builder timeUpdated(Date timeUpdated)
The amount of time in milliseconds since the pipeline was updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
reverseConnectionEndpoints
public OpensearchClusterPipeline.Builder reverseConnectionEndpoints(List<OpensearchPipelineReverseConnectionEndpoint> reverseConnectionEndpoints)
The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.- Parameters:
reverseConnectionEndpoints- the value to set- Returns:
- this builder
-
nsgId
public OpensearchClusterPipeline.Builder nsgId(String nsgId)
The OCID of the NSG where the pipeline private endpoint vnic will be attached.- Parameters:
nsgId- the value to set- Returns:
- this builder
-
freeformTags
public OpensearchClusterPipeline.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 OpensearchClusterPipeline.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 OpensearchClusterPipeline.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public OpensearchClusterPipeline build()
-
copy
public OpensearchClusterPipeline.Builder copy(OpensearchClusterPipeline model)
-
-