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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entitlement.BuilderappVisibility(String appVisibility)Specifies whether all or selected apps are entitled.Entitlement.BuilderappVisibility(AppVisibility appVisibility)Specifies whether all or selected apps are entitled.Entitlement.Builderattributes(Collection<EntitlementAttribute> attributes)The attributes of the entitlement.Entitlement.Builderattributes(Consumer<EntitlementAttribute.Builder>... attributes)The attributes of the entitlement.Entitlement.Builderattributes(EntitlementAttribute... attributes)The attributes of the entitlement.Entitlement.BuildercreatedTime(Instant createdTime)The time when the entitlement was created.Entitlement.Builderdescription(String description)The description of the entitlement.Entitlement.BuilderlastModifiedTime(Instant lastModifiedTime)The time when the entitlement was last modified.Entitlement.Buildername(String name)The name of the entitlement.Entitlement.BuilderstackName(String stackName)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
Entitlement.Builder name(String 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
Entitlement.Builder stackName(String 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
Entitlement.Builder description(String 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
Entitlement.Builder appVisibility(String 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,AppVisibility
-
appVisibility
Entitlement.Builder appVisibility(AppVisibility 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,AppVisibility
-
attributes
Entitlement.Builder attributes(Collection<EntitlementAttribute> 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
Entitlement.Builder attributes(EntitlementAttribute... 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
Entitlement.Builder attributes(Consumer<EntitlementAttribute.Builder>... attributes)
The attributes of the entitlement.
This is a convenience method that creates an instance of theEntitlementAttribute.Builderavoiding the need to create one manually viaEntitlementAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
createdTime
Entitlement.Builder createdTime(Instant 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
Entitlement.Builder lastModifiedTime(Instant 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.
-
-