Interface Card.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Card.Builder,,Card> SdkBuilder<Card.Builder,,Card> SdkPojo
- Enclosing class:
Card
@Mutable
@NotThreadSafe
public static interface Card.Builder
extends SdkPojo, CopyableBuilder<Card.Builder,Card>
-
Method Summary
Modifier and TypeMethodDescriptionThe network the card runs on.The network the card runs on.Whether the card is a credit card or a debit card.Whether the card is a credit card or a debit card.expirationMonth(Integer expirationMonth) The calendar month that the card expires in.expirationYear(Integer expirationYear) The calendar year that the card expires in.issuerCountry(String issuerCountry) The country of the bank that issued the card.issuingBank(String issuingBank) The bank that issued the card.The last four digits of the card number.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
-
brand
The network the card runs on.
- Parameters:
brand- The network the card runs on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
brand
The network the card runs on.
- Parameters:
brand- The network the card runs on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
last4
The last four digits of the card number.
- Parameters:
last4- The last four digits of the card number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationMonth
The calendar month that the card expires in.
- Parameters:
expirationMonth- The calendar month that the card expires in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationYear
The calendar year that the card expires in.
- Parameters:
expirationYear- The calendar year that the card expires in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cardType
Whether the card is a credit card or a debit card.
- Parameters:
cardType- Whether the card is a credit card or a debit card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cardType
Whether the card is a credit card or a debit card.
- Parameters:
cardType- Whether the card is a credit card or a debit card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
issuingBank
The bank that issued the card.
- Parameters:
issuingBank- The bank that issued the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuerCountry
The country of the bank that issued the card.
- Parameters:
issuerCountry- The country of the bank that issued the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-