public static class FleetTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetTarget |
build() |
FleetTarget.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
FleetTarget.Builder |
complianceState(ComplianceState complianceState)
The last known compliance state of the target.
|
FleetTarget.Builder |
copy(FleetTarget model) |
FleetTarget.Builder |
displayName(String displayName)
A user-friendly name.
|
FleetTarget.Builder |
id(String id)
The OCID of the resource.
|
FleetTarget.Builder |
isLastDiscoveryAttemptSuccessful(Boolean isLastDiscoveryAttemptSuccessful)
A boolean flag that represents whether the last discovery attempt was successful.
|
FleetTarget.Builder |
lifecycleState(FleetTarget.LifecycleState lifecycleState)
The current state of the FleetTarget.
|
FleetTarget.Builder |
product(String product)
Product to which the target belongs to.
|
FleetTarget.Builder |
resource(TargetResource resource) |
FleetTarget.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
FleetTarget.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
FleetTarget.Builder |
timeOfLastDiscoveryAttempt(Date timeOfLastDiscoveryAttempt)
The time when last discovery was attempted.
|
FleetTarget.Builder |
timeOfLastSuccessfulDiscovery(Date timeOfLastSuccessfulDiscovery)
The time when the last successful discovery was made.
|
FleetTarget.Builder |
version(String version)
Current version of target.
|
public FleetTarget.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic FleetTarget.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic FleetTarget.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic FleetTarget.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic FleetTarget.Builder version(String version)
Current version of target.
version
- the value to setpublic FleetTarget.Builder product(String product)
Product to which the target belongs to.
product
- the value to setpublic FleetTarget.Builder resource(TargetResource resource)
public FleetTarget.Builder complianceState(ComplianceState complianceState)
The last known compliance state of the target.
complianceState
- the value to setpublic FleetTarget.Builder timeOfLastSuccessfulDiscovery(Date timeOfLastSuccessfulDiscovery)
The time when the last successful discovery was made.
timeOfLastSuccessfulDiscovery
- the value to setpublic FleetTarget.Builder timeOfLastDiscoveryAttempt(Date timeOfLastDiscoveryAttempt)
The time when last discovery was attempted.
timeOfLastDiscoveryAttempt
- the value to setpublic FleetTarget.Builder isLastDiscoveryAttemptSuccessful(Boolean isLastDiscoveryAttemptSuccessful)
A boolean flag that represents whether the last discovery attempt was successful.
isLastDiscoveryAttemptSuccessful
- the value to setpublic FleetTarget.Builder lifecycleState(FleetTarget.LifecycleState lifecycleState)
The current state of the FleetTarget.
lifecycleState
- the value to setpublic FleetTarget.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic FleetTarget build()
public FleetTarget.Builder copy(FleetTarget model)
Copyright © 2016–2024. All rights reserved.