Package com.oracle.bmc.apigateway.model
Class Entitlement.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.Entitlement.Builder
-
- Enclosing class:
- Entitlement
public static class Entitlement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entitlement
build()
Entitlement.Builder
copy(Entitlement model)
Entitlement.Builder
description(String description)
A user-friendly description.Entitlement.Builder
name(String name)
An entitlement name, unique within a usage plan.Entitlement.Builder
quota(Quota quota)
Entitlement.Builder
rateLimit(RateLimit rateLimit)
Entitlement.Builder
targets(List<EntitlementTarget> targets)
A collection of targeted deployments that the entitlement will be applied to.
-
-
-
Method Detail
-
name
public Entitlement.Builder name(String name)
An entitlement name, unique within a usage plan.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public Entitlement.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
rateLimit
public Entitlement.Builder rateLimit(RateLimit rateLimit)
-
quota
public Entitlement.Builder quota(Quota quota)
-
targets
public Entitlement.Builder targets(List<EntitlementTarget> targets)
A collection of targeted deployments that the entitlement will be applied to.- Parameters:
targets
- the value to set- Returns:
- this builder
-
build
public Entitlement build()
-
copy
public Entitlement.Builder copy(Entitlement model)
-
-