public static class ResourcePortSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourcePortSummary |
build() |
ResourcePortSummary.Builder |
copy(ResourcePortSummary model) |
ResourcePortSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ResourcePortSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ResourcePortSummary.Builder |
portNumber(String portNumber)
The open port number
|
ResourcePortSummary.Builder |
process(String process)
Process running on the open port
|
ResourcePortSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ResourcePortSummary.Builder |
type(String type)
Type of port
|
public ResourcePortSummary.Builder portNumber(String portNumber)
The open port number
portNumber
- the value to setpublic ResourcePortSummary.Builder process(String process)
Process running on the open port
process
- the value to setpublic ResourcePortSummary.Builder type(String type)
Type of port
type
- the value to setpublic 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.
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ResourcePortSummary build()
public ResourcePortSummary.Builder copy(ResourcePortSummary model)
Copyright © 2016–2024. All rights reserved.