public static class FleetCredential.Builder extends Object
Constructor and Description |
---|
Builder() |
public FleetCredential.Builder id(String id)
The unique id of the resource.
id
- the value to setpublic FleetCredential.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 FleetCredential.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic FleetCredential.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic FleetCredential.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic FleetCredential.Builder entitySpecifics(CredentialEntitySpecificDetails entitySpecifics)
public FleetCredential.Builder user(CredentialDetails user)
public FleetCredential.Builder password(CredentialDetails password)
public FleetCredential.Builder lifecycleState(FleetCredential.LifecycleState lifecycleState)
The current state of the FleetCredential.
lifecycleState
- the value to setpublic FleetCredential.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic FleetCredential.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 FleetCredential build()
public FleetCredential.Builder copy(FleetCredential model)
Copyright © 2016–2024. All rights reserved.