public static class DiscoveredTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiscoveredTarget |
build() |
DiscoveredTarget.Builder |
copy(DiscoveredTarget model) |
DiscoveredTarget.Builder |
product(String product)
Product that the target belongs to.
|
DiscoveredTarget.Builder |
resourceId(String resourceId)
Unique key that identifies the resource that the target belongs to.
|
DiscoveredTarget.Builder |
targetId(String targetId)
ID of the Target.
|
DiscoveredTarget.Builder |
targetName(String targetName)
Target Name.
|
DiscoveredTarget.Builder |
version(String version)
Current version of the target.
|
public DiscoveredTarget.Builder targetId(String targetId)
ID of the Target. Can be the target name if a separate ID is not available.
targetId
- the value to setpublic DiscoveredTarget.Builder targetName(String targetName)
Target Name.
targetName
- the value to setpublic DiscoveredTarget.Builder product(String product)
Product that the target belongs to.
product
- the value to setpublic DiscoveredTarget.Builder resourceId(String resourceId)
Unique key that identifies the resource that the target belongs to.
resourceId
- the value to setpublic DiscoveredTarget.Builder version(String version)
Current version of the target.
version
- the value to setpublic DiscoveredTarget build()
public DiscoveredTarget.Builder copy(DiscoveredTarget model)
Copyright © 2016–2024. All rights reserved.