public static class Entitlement.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public Entitlement.Builder name(String name)
An entitlement name, unique within a usage plan.
name
- the value to setpublic Entitlement.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic Entitlement.Builder rateLimit(RateLimit rateLimit)
public Entitlement.Builder quota(Quota quota)
public Entitlement.Builder targets(List<EntitlementTarget> targets)
A collection of targeted deployments that the entitlement will be applied to.
targets
- the value to setpublic Entitlement build()
public Entitlement.Builder copy(Entitlement model)
Copyright © 2016–2024. All rights reserved.