/* * Copyright 2018-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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.simpleemailv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* A request to change the DKIM attributes for an email identity. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PutEmailIdentityDkimSigningAttributesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The email identity. *

*/ private String emailIdentity; /** *

* The method to use to configure DKIM for the identity. There are the following possible values: *

* */ private String signingAttributesOrigin; /** *

* An object that contains information about the private key and selector that you want to use to configure DKIM for * the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM. *

*/ private DkimSigningAttributes signingAttributes; /** *

* The email identity. *

* * @param emailIdentity * The email identity. */ public void setEmailIdentity(String emailIdentity) { this.emailIdentity = emailIdentity; } /** *

* The email identity. *

* * @return The email identity. */ public String getEmailIdentity() { return this.emailIdentity; } /** *

* The email identity. *

* * @param emailIdentity * The email identity. * @return Returns a reference to this object so that method calls can be chained together. */ public PutEmailIdentityDkimSigningAttributesRequest withEmailIdentity(String emailIdentity) { setEmailIdentity(emailIdentity); return this; } /** *

* The method to use to configure DKIM for the identity. There are the following possible values: *

* * * @param signingAttributesOrigin * The method to use to configure DKIM for the identity. There are the following possible values:

*