Package com.oracle.bmc.adm.model
Class ApplicationDependency.Builder
- java.lang.Object
- 
- com.oracle.bmc.adm.model.ApplicationDependency.Builder
 
- 
- Enclosing class:
- ApplicationDependency
 
 public static class ApplicationDependency.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationDependency.BuilderapplicationDependencyNodeIds(List<String> applicationDependencyNodeIds)List of application dependencies on which this application dependency depends, each identified by its nodeId.ApplicationDependencybuild()ApplicationDependency.Buildercopy(ApplicationDependency model)ApplicationDependency.Buildergav(String gav)Group Artifact Version (GAV) identifier (Group:Artifact:Version).ApplicationDependency.BuildernodeId(String nodeId)Unique identifier of an application dependency, for example nodeId1.ApplicationDependency.Builderpurl(String purl)Package URL identifier, e.g.
 
- 
- 
- 
Method Detail- 
gavpublic ApplicationDependency.Builder gav(String gav) Group Artifact Version (GAV) identifier (Group:Artifact:Version).Example: org.graalvm.nativeimage:svm:21.1.0. “N/A” for non-maven artifacts. - Parameters:
- gav- the value to set
- Returns:
- this builder
 
 - 
purlpublic ApplicationDependency.Builder purl(String purl) Package URL identifier, e.g.pkg:maven/org.graalvm.nativeimage/svm@21.1.0 - Parameters:
- purl- the value to set
- Returns:
- this builder
 
 - 
nodeIdpublic ApplicationDependency.Builder nodeId(String nodeId) Unique identifier of an application dependency, for example nodeId1.The nodeId can be generated by assigning a unique id to each application dependency in the tree of application dependencies. Every node, even those who share the same GAV, should have a different nodeId. The preferred way of constructing a nodeId is to assign incremental integers during a breadth first or depth first search. A nodeId can be reused only it refers to the same subtree of application dependencies. (This is not equivalent to referring to the same GAV, that is, a GAV can have multiple transitive dependencies.) - Parameters:
- nodeId- the value to set
- Returns:
- this builder
 
 - 
applicationDependencyNodeIdspublic ApplicationDependency.Builder applicationDependencyNodeIds(List<String> applicationDependencyNodeIds) List of application dependencies on which this application dependency depends, each identified by its nodeId.- Parameters:
- applicationDependencyNodeIds- the value to set
- Returns:
- this builder
 
 - 
buildpublic ApplicationDependency build() 
 - 
copypublic ApplicationDependency.Builder copy(ApplicationDependency model) 
 
- 
 
-