public static class ProtectedBranchSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProtectedBranchSummary.Builder |
branchName(String branchName)
Branch name inside a repository.
|
ProtectedBranchSummary |
build() |
ProtectedBranchSummary.Builder |
copy(ProtectedBranchSummary model) |
ProtectedBranchSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ProtectedBranchSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ProtectedBranchSummary.Builder |
protectionLevels(List<ProtectionLevel> protectionLevels)
Protection level to be added on the branch.
|
ProtectedBranchSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
public ProtectedBranchSummary.Builder branchName(String branchName)
Branch name inside a repository.
branchName
- the value to setpublic ProtectedBranchSummary.Builder protectionLevels(List<ProtectionLevel> protectionLevels)
Protection level to be added on the branch.
protectionLevels
- the value to setpublic ProtectedBranchSummary.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. See Resource
Tags. Example:
{"bar-key": "value"}
freeformTags
- the value to setpublic ProtectedBranchSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ProtectedBranchSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource
Tags. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ProtectedBranchSummary build()
public ProtectedBranchSummary.Builder copy(ProtectedBranchSummary model)
Copyright © 2016–2024. All rights reserved.