public static interface Entitlement.Builder extends SdkPojo, CopyableBuilder<Entitlement.Builder,Entitlement>
| Modifier and Type | Method and Description |
|---|---|
Entitlement.Builder |
appVisibility(AppVisibility appVisibility)
Specifies whether all or selected apps are entitled.
|
Entitlement.Builder |
appVisibility(String appVisibility)
Specifies whether all or selected apps are entitled.
|
Entitlement.Builder |
attributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
|
Entitlement.Builder |
attributes(Consumer<EntitlementAttribute.Builder>... attributes)
The attributes of the entitlement.
|
Entitlement.Builder |
attributes(EntitlementAttribute... attributes)
The attributes of the entitlement.
|
Entitlement.Builder |
createdTime(Instant createdTime)
The time when the entitlement was created.
|
Entitlement.Builder |
description(String description)
The description of the entitlement.
|
Entitlement.Builder |
lastModifiedTime(Instant lastModifiedTime)
The time when the entitlement was last modified.
|
Entitlement.Builder |
name(String name)
The name of the entitlement.
|
Entitlement.Builder |
stackName(String stackName)
The name of the stack with which the entitlement is associated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEntitlement.Builder name(String name)
The name of the entitlement.
name - The name of the entitlement.Entitlement.Builder stackName(String stackName)
The name of the stack with which the entitlement is associated.
stackName - The name of the stack with which the entitlement is associated.Entitlement.Builder description(String description)
The description of the entitlement.
description - The description of the entitlement.Entitlement.Builder appVisibility(String appVisibility)
Specifies whether all or selected apps are entitled.
appVisibility - Specifies whether all or selected apps are entitled.AppVisibility,
AppVisibilityEntitlement.Builder appVisibility(AppVisibility appVisibility)
Specifies whether all or selected apps are entitled.
appVisibility - Specifies whether all or selected apps are entitled.AppVisibility,
AppVisibilityEntitlement.Builder attributes(Collection<EntitlementAttribute> attributes)
The attributes of the entitlement.
attributes - The attributes of the entitlement.Entitlement.Builder attributes(EntitlementAttribute... attributes)
The attributes of the entitlement.
attributes - The attributes of the entitlement.Entitlement.Builder attributes(Consumer<EntitlementAttribute.Builder>... attributes)
The attributes of the entitlement.
This is a convenience method that creates an instance of theEntitlementAttribute.Builder avoiding the need to
create one manually via
EntitlementAttribute.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #attributes(List.
attributes - a consumer that will call methods on
EntitlementAttribute.Builder#attributes(java.util.Collection) Entitlement.Builder createdTime(Instant createdTime)
The time when the entitlement was created.
createdTime - The time when the entitlement was created.Entitlement.Builder lastModifiedTime(Instant lastModifiedTime)
The time when the entitlement was last modified.
lastModifiedTime - The time when the entitlement was last modified.Copyright © 2023. All rights reserved.