/* * 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.transfer.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateProfileRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the * AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API * operation. This ID cannot include spaces. *

*/ private String as2Id; /** *

* Determines the type of profile to create: *

* */ private String profileType; /** *

* An array of identifiers for the imported certificates. You use this identifier for working with profiles and * partner profiles. *

*/ private java.util.List certificateIds; /** *

* Key-value pairs that can be used to group and search for AS2 profiles. *

*/ private java.util.List tags; /** *

* The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the * AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API * operation. This ID cannot include spaces. *

* * @param as2Id * The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is * the AS2-To header for the AS2 messages sent to the partner using the * StartFileTransfer API operation. This ID cannot include spaces. */ public void setAs2Id(String as2Id) { this.as2Id = as2Id; } /** *

* The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the * AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API * operation. This ID cannot include spaces. *

* * @return The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is * the AS2-To header for the AS2 messages sent to the partner using the * StartFileTransfer API operation. This ID cannot include spaces. */ public String getAs2Id() { return this.as2Id; } /** *

* The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the * AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API * operation. This ID cannot include spaces. *

* * @param as2Id * The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the * AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is * the AS2-To header for the AS2 messages sent to the partner using the * StartFileTransfer API operation. This ID cannot include spaces. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileRequest withAs2Id(String as2Id) { setAs2Id(as2Id); return this; } /** *

* Determines the type of profile to create: *

* * * @param profileType * Determines the type of profile to create:

*