Interface GetEntitlementResponse.Builder

  • Method Details

    • applicationArn

      GetEntitlementResponse.Builder applicationArn(String applicationArn)

      The ARN of the application that the entitlement belongs to.

      Parameters:
      applicationArn - The ARN of the application that the entitlement belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entitlementId

      GetEntitlementResponse.Builder entitlementId(String entitlementId)

      The unique identifier of the entitlement.

      Parameters:
      entitlementId - The unique identifier of the entitlement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entitlement

      The entitlement details, including the principal, IAM role, and target account.

      Parameters:
      entitlement - The entitlement details, including the principal, IAM role, and target account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entitlement

      The entitlement details, including the principal, IAM role, and target account.

      This is a convenience method that creates an instance of the EntitlementDetails.Builder avoiding the need to create one manually via EntitlementDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entitlement(EntitlementDetails).

      Parameters:
      entitlement - a consumer that will call methods on EntitlementDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The date and time when the entitlement was created.

      Parameters:
      createdAt - The date and time when the entitlement was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.