@Override public EmailConfigurationType build() { return new EmailConfigurationType(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof EmailConfigurationType)) { return false; } EmailConfigurationType other = (EmailConfigurationType) obj; return Objects.equals(sourceArn(), other.sourceArn()) && Objects.equals(replyToEmailAddress(), other.replyToEmailAddress()); }
public final EmailConfigurationType.Builder getEmailConfiguration() { return emailConfiguration != null ? emailConfiguration.toBuilder() : null; }
/** * <p> * The email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
/** * <p> * The email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(sourceArn()); hashCode = 31 * hashCode + Objects.hashCode(replyToEmailAddress()); return hashCode; }
/** * <p> * The email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
public final EmailConfigurationType.Builder getEmailConfiguration() { return emailConfiguration != null ? emailConfiguration.toBuilder() : null; }
@Override public EmailConfigurationType build() { return new EmailConfigurationType(this); } }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof EmailConfigurationType)) { return false; } EmailConfigurationType other = (EmailConfigurationType) obj; return Objects.equals(sourceArn(), other.sourceArn()) && Objects.equals(replyToEmailAddress(), other.replyToEmailAddress()); }
/** * <p> * Email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
public final EmailConfigurationType.Builder getEmailConfiguration() { return emailConfiguration != null ? emailConfiguration.toBuilder() : null; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(sourceArn()); hashCode = 31 * hashCode + Objects.hashCode(replyToEmailAddress()); return hashCode; }
/** * <p> * The email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
public final EmailConfigurationType.Builder getEmailConfiguration() { return emailConfiguration != null ? emailConfiguration.toBuilder() : null; }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("EmailConfigurationType").add("SourceArn", sourceArn()) .add("ReplyToEmailAddress", replyToEmailAddress()).build(); }
/** * <p> * Email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
public final EmailConfigurationType.Builder getEmailConfiguration() { return emailConfiguration != null ? emailConfiguration.toBuilder() : null; }
@Override public String toString() { return ToString.builder("EmailConfigurationType").add("SourceArn", sourceArn()) .add("ReplyToEmailAddress", replyToEmailAddress()).build(); }
public EmailConfigurationType unmarshall(JsonUnmarshallerContext context) throws Exception { EmailConfigurationType.Builder emailConfigurationTypeBuilder = EmailConfigurationType.builder();