Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simpleemail Update models to latest #3389

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand All @@ -24,39 +24,41 @@
* </p>
* <p>
* For information about adding a header using a receipt rule, see the <a href=
* "https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html"
* "https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-add-header.html"
* >Amazon SES Developer Guide</a>.
* </p>
*/
public class AddHeaderAction implements Serializable {
/**
* <p>
* The name of the header to add. Must be between 1 and 50 characters,
* inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
* dashes only.
* The name of the header to add to the incoming message. The name must
* contain at least one character, and can contain up to 50 characters. It
* consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.
* </p>
*/
private String headerName;

/**
* <p>
* Must be less than 2048 characters, and must not contain newline
* characters ("\r" or "\n").
* The content to include in the header. This value can contain up to 2048
* characters. It can't contain newline (<code>\n</code>) or carriage return
* (<code>\r</code>) characters.
* </p>
*/
private String headerValue;

/**
* <p>
* The name of the header to add. Must be between 1 and 50 characters,
* inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
* dashes only.
* The name of the header to add to the incoming message. The name must
* contain at least one character, and can contain up to 50 characters. It
* consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.
* </p>
*
* @return <p>
* The name of the header to add. Must be between 1 and 50
* characters, inclusive, and consist of alphanumeric (a-z, A-Z,
* 0-9) characters and dashes only.
* The name of the header to add to the incoming message. The name
* must contain at least one character, and can contain up to 50
* characters. It consists of alphanumeric (a–z, A–Z, 0–9)
* characters and dashes.
* </p>
*/
public String getHeaderName() {
Expand All @@ -65,15 +67,16 @@ public String getHeaderName() {

/**
* <p>
* The name of the header to add. Must be between 1 and 50 characters,
* inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
* dashes only.
* The name of the header to add to the incoming message. The name must
* contain at least one character, and can contain up to 50 characters. It
* consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.
* </p>
*
* @param headerName <p>
* The name of the header to add. Must be between 1 and 50
* characters, inclusive, and consist of alphanumeric (a-z, A-Z,
* 0-9) characters and dashes only.
* The name of the header to add to the incoming message. The
* name must contain at least one character, and can contain up
* to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9)
* characters and dashes.
* </p>
*/
public void setHeaderName(String headerName) {
Expand All @@ -82,18 +85,19 @@ public void setHeaderName(String headerName) {

/**
* <p>
* The name of the header to add. Must be between 1 and 50 characters,
* inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and
* dashes only.
* The name of the header to add to the incoming message. The name must
* contain at least one character, and can contain up to 50 characters. It
* consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param headerName <p>
* The name of the header to add. Must be between 1 and 50
* characters, inclusive, and consist of alphanumeric (a-z, A-Z,
* 0-9) characters and dashes only.
* The name of the header to add to the incoming message. The
* name must contain at least one character, and can contain up
* to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9)
* characters and dashes.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand All @@ -105,13 +109,15 @@ public AddHeaderAction withHeaderName(String headerName) {

/**
* <p>
* Must be less than 2048 characters, and must not contain newline
* characters ("\r" or "\n").
* The content to include in the header. This value can contain up to 2048
* characters. It can't contain newline (<code>\n</code>) or carriage return
* (<code>\r</code>) characters.
* </p>
*
* @return <p>
* Must be less than 2048 characters, and must not contain newline
* characters ("\r" or "\n").
* The content to include in the header. This value can contain up
* to 2048 characters. It can't contain newline (<code>\n</code>) or
* carriage return (<code>\r</code>) characters.
* </p>
*/
public String getHeaderValue() {
Expand All @@ -120,13 +126,16 @@ public String getHeaderValue() {

/**
* <p>
* Must be less than 2048 characters, and must not contain newline
* characters ("\r" or "\n").
* The content to include in the header. This value can contain up to 2048
* characters. It can't contain newline (<code>\n</code>) or carriage return
* (<code>\r</code>) characters.
* </p>
*
* @param headerValue <p>
* Must be less than 2048 characters, and must not contain
* newline characters ("\r" or "\n").
* The content to include in the header. This value can contain
* up to 2048 characters. It can't contain newline (
* <code>\n</code>) or carriage return (<code>\r</code>)
* characters.
* </p>
*/
public void setHeaderValue(String headerValue) {
Expand All @@ -135,16 +144,19 @@ public void setHeaderValue(String headerValue) {

/**
* <p>
* Must be less than 2048 characters, and must not contain newline
* characters ("\r" or "\n").
* The content to include in the header. This value can contain up to 2048
* characters. It can't contain newline (<code>\n</code>) or carriage return
* (<code>\r</code>) characters.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param headerValue <p>
* Must be less than 2048 characters, and must not contain
* newline characters ("\r" or "\n").
* The content to include in the header. This value can contain
* up to 2048 characters. It can't contain newline (
* <code>\n</code>) or carriage return (<code>\r</code>)
* characters.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand All @@ -26,17 +26,20 @@
* <p>
* For information about sending a bounce message in response to a received
* email, see the <a href=
* "https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html"
* "https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-bounce.html"
* >Amazon SES Developer Guide</a>.
* </p>
*/
public class BounceAction implements Serializable {
/**
* <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the
* bounce action is taken. An example of an Amazon SNS topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For more
* information about Amazon SNS topics, see the <a
* bounce action is taken. You can find the ARN of a topic by using the <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">
* ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a
* href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon
* SNS Developer Guide</a>.
* </p>
Expand Down Expand Up @@ -69,27 +72,33 @@ public class BounceAction implements Serializable {
/**
* <p>
* The email address of the sender of the bounced email. This is the address
* from which the bounce message will be sent.
* from which the bounce message is sent.
* </p>
*/
private String sender;

/**
* <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the
* bounce action is taken. An example of an Amazon SNS topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For more
* information about Amazon SNS topics, see the <a
* bounce action is taken. You can find the ARN of a topic by using the <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">
* ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a
* href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon
* SNS Developer Guide</a>.
* </p>
*
* @return <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to notify
* when the bounce action is taken. An example of an Amazon SNS
* topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For more
* information about Amazon SNS topics, see the <a href=
* when the bounce action is taken. You can find the ARN of a topic
* by using the <a href=
* "https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html"
* >ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a href=
* "https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html"
* >Amazon SNS Developer Guide</a>.
* </p>
Expand All @@ -101,19 +110,25 @@ public String getTopicArn() {
/**
* <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the
* bounce action is taken. An example of an Amazon SNS topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For more
* information about Amazon SNS topics, see the <a
* bounce action is taken. You can find the ARN of a topic by using the <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">
* ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a
* href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon
* SNS Developer Guide</a>.
* </p>
*
* @param topicArn <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to
* notify when the bounce action is taken. An example of an
* Amazon SNS topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For
* more information about Amazon SNS topics, see the <a href=
* notify when the bounce action is taken. You can find the ARN
* of a topic by using the <a href=
* "https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html"
* >ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a href=
* "https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html"
* >Amazon SNS Developer Guide</a>.
* </p>
Expand All @@ -125,9 +140,12 @@ public void setTopicArn(String topicArn) {
/**
* <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the
* bounce action is taken. An example of an Amazon SNS topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For more
* information about Amazon SNS topics, see the <a
* bounce action is taken. You can find the ARN of a topic by using the <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html">
* ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a
* href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Amazon
* SNS Developer Guide</a>.
* </p>
Expand All @@ -137,10 +155,13 @@ public void setTopicArn(String topicArn) {
*
* @param topicArn <p>
* The Amazon Resource Name (ARN) of the Amazon SNS topic to
* notify when the bounce action is taken. An example of an
* Amazon SNS topic ARN is
* <code>arn:aws:sns:us-west-2:123456789012:MyTopic</code>. For
* more information about Amazon SNS topics, see the <a href=
* notify when the bounce action is taken. You can find the ARN
* of a topic by using the <a href=
* "https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html"
* >ListTopics</a> operation in Amazon SNS.
* </p>
* <p>
* For more information about Amazon SNS topics, see the <a href=
* "https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html"
* >Amazon SNS Developer Guide</a>.
* </p>
Expand Down Expand Up @@ -302,12 +323,12 @@ public BounceAction withMessage(String message) {
/**
* <p>
* The email address of the sender of the bounced email. This is the address
* from which the bounce message will be sent.
* from which the bounce message is sent.
* </p>
*
* @return <p>
* The email address of the sender of the bounced email. This is the
* address from which the bounce message will be sent.
* address from which the bounce message is sent.
* </p>
*/
public String getSender() {
Expand All @@ -317,12 +338,12 @@ public String getSender() {
/**
* <p>
* The email address of the sender of the bounced email. This is the address
* from which the bounce message will be sent.
* from which the bounce message is sent.
* </p>
*
* @param sender <p>
* The email address of the sender of the bounced email. This is
* the address from which the bounce message will be sent.
* the address from which the bounce message is sent.
* </p>
*/
public void setSender(String sender) {
Expand All @@ -332,15 +353,15 @@ public void setSender(String sender) {
/**
* <p>
* The email address of the sender of the bounced email. This is the address
* from which the bounce message will be sent.
* from which the bounce message is sent.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param sender <p>
* The email address of the sender of the bounced email. This is
* the address from which the bounce message will be sent.
* the address from which the bounce message is sent.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Loading