public static class FleetTargetSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetTargetSummary |
build() |
FleetTargetSummary.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
FleetTargetSummary.Builder |
complianceState(ComplianceState complianceState)
The last known compliance state of the target.
|
FleetTargetSummary.Builder |
copy(FleetTargetSummary model) |
FleetTargetSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
FleetTargetSummary.Builder |
id(String id)
The OCID of the resource.
|
FleetTargetSummary.Builder |
isLastDiscoveryAttemptSuccessful(Boolean isLastDiscoveryAttemptSuccessful)
A boolean flag that represents whether the last discovery attempt was successful.
|
FleetTargetSummary.Builder |
lifecycleState(FleetTarget.LifecycleState lifecycleState)
The current state of the FleetTarget.
|
FleetTargetSummary.Builder |
product(String product)
Product to which the target belongs to.
|
FleetTargetSummary.Builder |
resource(TargetResource resource) |
FleetTargetSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
FleetTargetSummary.Builder |
timeOfLastDiscoveryAttempt(Date timeOfLastDiscoveryAttempt)
The time when last discovery was attempted.
|
FleetTargetSummary.Builder |
timeOfLastSuccessfulDiscovery(Date timeOfLastSuccessfulDiscovery)
The time when the last successful discovery was made.
|
FleetTargetSummary.Builder |
version(String version)
Current version of target.
|
public FleetTargetSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic FleetTargetSummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic FleetTargetSummary.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 FleetTargetSummary.Builder version(String version)
Current version of target.
version
- the value to setpublic FleetTargetSummary.Builder product(String product)
Product to which the target belongs to.
product
- the value to setpublic FleetTargetSummary.Builder resource(TargetResource resource)
public FleetTargetSummary.Builder complianceState(ComplianceState complianceState)
The last known compliance state of the target.
complianceState
- the value to setpublic FleetTargetSummary.Builder timeOfLastSuccessfulDiscovery(Date timeOfLastSuccessfulDiscovery)
The time when the last successful discovery was made.
timeOfLastSuccessfulDiscovery
- the value to setpublic FleetTargetSummary.Builder timeOfLastDiscoveryAttempt(Date timeOfLastDiscoveryAttempt)
The time when last discovery was attempted.
timeOfLastDiscoveryAttempt
- the value to setpublic FleetTargetSummary.Builder isLastDiscoveryAttemptSuccessful(Boolean isLastDiscoveryAttemptSuccessful)
A boolean flag that represents whether the last discovery attempt was successful.
isLastDiscoveryAttemptSuccessful
- the value to setpublic FleetTargetSummary.Builder lifecycleState(FleetTarget.LifecycleState lifecycleState)
The current state of the FleetTarget.
lifecycleState
- the value to setpublic FleetTargetSummary.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 FleetTargetSummary build()
public FleetTargetSummary.Builder copy(FleetTargetSummary model)
Copyright © 2016–2024. All rights reserved.