Package com.oracle.bmc.rover.model
Class RoverEntitlement.Builder
- java.lang.Object
-
- com.oracle.bmc.rover.model.RoverEntitlement.Builder
-
- Enclosing class:
- RoverEntitlement
public static class RoverEntitlement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoverEntitlement
build()
RoverEntitlement.Builder
compartmentId(String compartmentId)
The compartment Id for the entitlement.RoverEntitlement.Builder
copy(RoverEntitlement model)
RoverEntitlement.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.RoverEntitlement.Builder
displayName(String displayName)
A user-friendly name.RoverEntitlement.Builder
entitlementDetails(String entitlementDetails)
Details about the entitlement.RoverEntitlement.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.RoverEntitlement.Builder
id(String id)
A property that can uniquely identify the rover entitlement.RoverEntitlement.Builder
lifecycleState(RoverEntitlement.LifecycleState lifecycleState)
Lifecyclestate for the entitlement.RoverEntitlement.Builder
lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.RoverEntitlement.Builder
requestorEmail(String requestorEmail)
Requestor email for the entitlement.RoverEntitlement.Builder
requestorName(String requestorName)
Requestor name for the entitlement.RoverEntitlement.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.RoverEntitlement.Builder
tenantId(String tenantId)
tenant Id.RoverEntitlement.Builder
timeCreated(Date timeCreated)
Time of creation for the entitlement.RoverEntitlement.Builder
timeUpdated(Date timeUpdated)
Time when the entitlement was last updated.
-
-
-
Method Detail
-
tenantId
public RoverEntitlement.Builder tenantId(String tenantId)
tenant Id.- Parameters:
tenantId
- the value to set- Returns:
- this builder
-
id
public RoverEntitlement.Builder id(String id)
A property that can uniquely identify the rover entitlement.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public RoverEntitlement.Builder compartmentId(String compartmentId)
The compartment Id for the entitlement.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public RoverEntitlement.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
requestorName
public RoverEntitlement.Builder requestorName(String requestorName)
Requestor name for the entitlement.- Parameters:
requestorName
- the value to set- Returns:
- this builder
-
requestorEmail
public RoverEntitlement.Builder requestorEmail(String requestorEmail)
Requestor email for the entitlement.- Parameters:
requestorEmail
- the value to set- Returns:
- this builder
-
lifecycleState
public RoverEntitlement.Builder lifecycleState(RoverEntitlement.LifecycleState lifecycleState)
Lifecyclestate for the entitlement.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
entitlementDetails
public RoverEntitlement.Builder entitlementDetails(String entitlementDetails)
Details about the entitlement.- Parameters:
entitlementDetails
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public RoverEntitlement.Builder lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
timeCreated
public RoverEntitlement.Builder timeCreated(Date timeCreated)
Time of creation for the entitlement.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public RoverEntitlement.Builder timeUpdated(Date timeUpdated)
Time when the entitlement was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public RoverEntitlement.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public RoverEntitlement.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public RoverEntitlement.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public RoverEntitlement build()
-
copy
public RoverEntitlement.Builder copy(RoverEntitlement model)
-
-