Interface Entitlement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Entitlement.Builder,
,Entitlement> SdkBuilder<Entitlement.Builder,
,Entitlement> SdkPojo
- Enclosing class:
Entitlement
public static interface Entitlement.Builder
extends SdkPojo, CopyableBuilder<Entitlement.Builder,Entitlement>
-
Method Summary
Modifier and TypeMethodDescriptionappVisibility
(String appVisibility) Specifies whether all or selected apps are entitled.appVisibility
(AppVisibility appVisibility) Specifies whether all or selected apps are entitled.attributes
(Collection<EntitlementAttribute> attributes) The attributes of the entitlement.attributes
(Consumer<EntitlementAttribute.Builder>... attributes) The attributes of the entitlement.attributes
(EntitlementAttribute... attributes) The attributes of the entitlement.createdTime
(Instant createdTime) The time when the entitlement was created.description
(String description) The description of the entitlement.lastModifiedTime
(Instant lastModifiedTime) The time when the entitlement was last modified.The name of the entitlement.The name of the stack with which the entitlement is associated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the entitlement.
- Parameters:
name
- The name of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackName
The name of the stack with which the entitlement is associated.
- Parameters:
stackName
- The name of the stack with which the entitlement is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the entitlement.
- Parameters:
description
- The description of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVisibility
Specifies whether all or selected apps are entitled.
- Parameters:
appVisibility
- Specifies whether all or selected apps are entitled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appVisibility
Specifies whether all or selected apps are entitled.
- Parameters:
appVisibility
- Specifies whether all or selected apps are entitled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
The attributes of the entitlement.
- Parameters:
attributes
- The attributes of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes of the entitlement.
- Parameters:
attributes
- The attributes of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaEntitlementAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<EntitlementAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onEntitlementAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The time when the entitlement was created.
- Parameters:
createdTime
- The time when the entitlement was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time when the entitlement was last modified.
- Parameters:
lastModifiedTime
- The time when the entitlement was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-