Class FleetCredential.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.FleetCredential.Builder
-
- Enclosing class:
- FleetCredential
public static class FleetCredential.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public FleetCredential.Builder id(String id)
The unique id of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public 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
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public FleetCredential.Builder compartmentId(String compartmentId)
Tenancy OCID- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public FleetCredential.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public FleetCredential.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
entitySpecifics
public FleetCredential.Builder entitySpecifics(CredentialEntitySpecificDetails entitySpecifics)
-
user
public FleetCredential.Builder user(CredentialDetails user)
-
password
public FleetCredential.Builder password(CredentialDetails password)
-
lifecycleState
public FleetCredential.Builder lifecycleState(FleetCredential.LifecycleState lifecycleState)
The current state of the FleetCredential.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public FleetCredential build()
-
copy
public FleetCredential.Builder copy(FleetCredential model)
-
-