Package com.oracle.bmc.cloudguard.model
Class ResourcePortSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.ResourcePortSummary.Builder
 
- 
- Enclosing class:
- ResourcePortSummary
 
 public static class ResourcePortSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcePortSummarybuild()ResourcePortSummary.Buildercopy(ResourcePortSummary model)ResourcePortSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ResourcePortSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ResourcePortSummary.BuilderportNumber(String portNumber)The open port numberResourcePortSummary.Builderprocess(String process)Process running on the open portResourcePortSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ResourcePortSummary.Buildertype(String type)Type of port
 
- 
- 
- 
Method Detail- 
portNumberpublic ResourcePortSummary.Builder portNumber(String portNumber) The open port number- Parameters:
- portNumber- the value to set
- Returns:
- this builder
 
 - 
processpublic ResourcePortSummary.Builder process(String process) Process running on the open port- Parameters:
- process- the value to set
- Returns:
- this builder
 
 - 
typepublic ResourcePortSummary.Builder type(String type) Type of port- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ResourcePortSummary.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”} Avoid entering confidential information. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ResourcePortSummary.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
 
 - 
systemTagspublic ResourcePortSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ResourcePortSummary build() 
 - 
copypublic ResourcePortSummary.Builder copy(ResourcePortSummary model) 
 
- 
 
-