Package com.oracle.bmc.apigateway.model
Class UpdateUsagePlanDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.UpdateUsagePlanDetails.Builder
-
- Enclosing class:
- UpdateUsagePlanDetails
public static class UpdateUsagePlanDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateUsagePlanDetailsbuild()UpdateUsagePlanDetails.Buildercopy(UpdateUsagePlanDetails model)UpdateUsagePlanDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateUsagePlanDetails.BuilderdisplayName(String displayName)A user-friendly name.UpdateUsagePlanDetails.Builderentitlements(List<Entitlement> entitlements)A collection of entitlements to update the current usage plan with.UpdateUsagePlanDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.
-
-
-
Method Detail
-
displayName
public UpdateUsagePlanDetails.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
-
entitlements
public UpdateUsagePlanDetails.Builder entitlements(List<Entitlement> entitlements)
A collection of entitlements to update the current usage plan with.- Parameters:
entitlements- the value to set- Returns:
- this builder
-
freeformTags
public UpdateUsagePlanDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.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 UpdateUsagePlanDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public UpdateUsagePlanDetails build()
-
copy
public UpdateUsagePlanDetails.Builder copy(UpdateUsagePlanDetails model)
-
-