Package org.simplejavamail.recipient
Class RecipientBuilder
java.lang.Object
org.simplejavamail.recipient.RecipientBuilder
- All Implemented Interfaces:
org.simplejavamail.api.email.IRecipientBuilder
public class RecipientBuilder
extends Object
implements org.simplejavamail.api.email.IRecipientBuilder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull org.simplejavamail.api.email.Recipientbuild()org.simplejavamail.api.email.IRecipientBuilder@Nullable String@Nullable StringgetName()@Nullable X509Certificate@Nullable jakarta.mail.Message.RecipientTypegetType()org.simplejavamail.api.email.IRecipientBuilderwithAddress(@NotNull String address) org.simplejavamail.api.email.IRecipientBuilderwithAddressAndFixedNameOrProvided(@NotNull jakarta.mail.internet.InternetAddress address, @Nullable String fixedName) org.simplejavamail.api.email.IRecipientBuilderwithAddressAndFixedNameOrProvided(@NotNull String address, @Nullable String fixedName) org.simplejavamail.api.email.IRecipientBuilderwithAddressAndNameOrDefault(@NotNull jakarta.mail.internet.InternetAddress address, @Nullable String defaultName) org.simplejavamail.api.email.IRecipientBuilderwithAddressAndNameOrDefault(@NotNull String address, @Nullable String defaultName) org.simplejavamail.api.email.IRecipientBuilderwithAddressOnlyFrom(@NotNull jakarta.mail.internet.InternetAddress address) org.simplejavamail.api.email.IRecipientBuilderwithAddressOnlyFrom(@NotNull String address) org.simplejavamail.api.email.IRecipientBuilderorg.simplejavamail.api.email.IRecipientBuilderwithSmimeCertificate(@NotNull X509Certificate smimeCertificate) org.simplejavamail.api.email.IRecipientBuilderwithType(@NotNull jakarta.mail.Message.RecipientType type)
-
Constructor Details
-
RecipientBuilder
public RecipientBuilder()
-
-
Method Details
-
build
@NotNull public @NotNull org.simplejavamail.api.email.Recipient build()- Specified by:
buildin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withType
public org.simplejavamail.api.email.IRecipientBuilder withType(@NotNull @NotNull jakarta.mail.Message.RecipientType type) - Specified by:
withTypein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withName
- Specified by:
withNamein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddress
- Specified by:
withAddressin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddressOnlyFrom
public org.simplejavamail.api.email.IRecipientBuilder withAddressOnlyFrom(@NotNull @NotNull jakarta.mail.internet.InternetAddress address) - Specified by:
withAddressOnlyFromin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddressOnlyFrom
public org.simplejavamail.api.email.IRecipientBuilder withAddressOnlyFrom(@NotNull @NotNull String address) - Specified by:
withAddressOnlyFromin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddressAndNameOrDefault
public org.simplejavamail.api.email.IRecipientBuilder withAddressAndNameOrDefault(@NotNull @NotNull jakarta.mail.internet.InternetAddress address, @Nullable @Nullable String defaultName) - Specified by:
withAddressAndNameOrDefaultin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddressAndNameOrDefault
public org.simplejavamail.api.email.IRecipientBuilder withAddressAndNameOrDefault(@NotNull @NotNull String address, @Nullable @Nullable String defaultName) - Specified by:
withAddressAndNameOrDefaultin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddressAndFixedNameOrProvided
public org.simplejavamail.api.email.IRecipientBuilder withAddressAndFixedNameOrProvided(@NotNull @NotNull jakarta.mail.internet.InternetAddress address, @Nullable @Nullable String fixedName) - Specified by:
withAddressAndFixedNameOrProvidedin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withAddressAndFixedNameOrProvided
public org.simplejavamail.api.email.IRecipientBuilder withAddressAndFixedNameOrProvided(@NotNull @NotNull String address, @Nullable @Nullable String fixedName) - Specified by:
withAddressAndFixedNameOrProvidedin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
withSmimeCertificate
public org.simplejavamail.api.email.IRecipientBuilder withSmimeCertificate(@NotNull @NotNull X509Certificate smimeCertificate) - Specified by:
withSmimeCertificatein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
clearingSmimeCertificate
public org.simplejavamail.api.email.IRecipientBuilder clearingSmimeCertificate()- Specified by:
clearingSmimeCertificatein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
getName
- Specified by:
getNamein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
getAddress
- Specified by:
getAddressin interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
getType
@Nullable public @Nullable jakarta.mail.Message.RecipientType getType()- Specified by:
getTypein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-
getSmimeCertificate
- Specified by:
getSmimeCertificatein interfaceorg.simplejavamail.api.email.IRecipientBuilder- See Also:
-