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 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

      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

      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:
    • 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

      The attributes of the entitlement.

      This is a convenience method that creates an instance of the EntitlementAttribute.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<EntitlementAttribute>).

      Parameters:
      attributes - a consumer that will call methods on EntitlementAttribute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.