Class NameConstraint.Builder
- java.lang.Object
-
- com.oracle.bmc.certificatesmanagement.model.NameConstraint.Builder
-
- Enclosing class:
- NameConstraint
public static class NameConstraint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameConstraintbuild()NameConstraint.Buildercopy(NameConstraint model)NameConstraint.BuilderexcludedSubtree(List<NameConstraintSubtreeNode> excludedSubtree)A list that contains excluded (or prohibited) namespaces.NameConstraint.BuilderpermittedSubtree(List<NameConstraintSubtreeNode> permittedSubtree)A list that contains permitted namespaces.
-
-
-
Method Detail
-
permittedSubtree
public NameConstraint.Builder permittedSubtree(List<NameConstraintSubtreeNode> permittedSubtree)
A list that contains permitted namespaces.If you have a name constraint with no excluded namespaces, you must specify at least one permitted namespace.
- Parameters:
permittedSubtree- the value to set- Returns:
- this builder
-
excludedSubtree
public NameConstraint.Builder excludedSubtree(List<NameConstraintSubtreeNode> excludedSubtree)
A list that contains excluded (or prohibited) namespaces.If you have a name constraint with no permitted namespaces, you must specify at least one excluded namespace.
- Parameters:
excludedSubtree- the value to set- Returns:
- this builder
-
build
public NameConstraint build()
-
copy
public NameConstraint.Builder copy(NameConstraint model)
-
-