Interface EntitlementsListMember.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntitlementsListMember.Builder,,EntitlementsListMember> SdkBuilder<EntitlementsListMember.Builder,,EntitlementsListMember> SdkPojo
- Enclosing class:
EntitlementsListMember
@Mutable
@NotThreadSafe
public static interface EntitlementsListMember.Builder
extends SdkPojo, CopyableBuilder<EntitlementsListMember.Builder,EntitlementsListMember>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the entitlement was created.default EntitlementsListMember.Builderentitlement(Consumer<EntitlementSummary.Builder> entitlement) The summary information for the entitlement.entitlement(EntitlementSummary entitlement) The summary information for the entitlement.entitlementId(String entitlementId) The unique identifier of the entitlement.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 summary information for the entitlement.
- Parameters:
entitlement- The summary information for the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlement
default EntitlementsListMember.Builder entitlement(Consumer<EntitlementSummary.Builder> entitlement) The summary information for the entitlement.
This is a convenience method that creates an instance of theEntitlementSummary.Builderavoiding the need to create one manually viaEntitlementSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentitlement(EntitlementSummary).- Parameters:
entitlement- a consumer that will call methods onEntitlementSummary.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.
-