/* * 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.
*
* Determines the type of profile to create: *
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer Family
* server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote organization,
* external to Transfer Family.
*
* An array of identifiers for the imported certificates. You use this identifier for working with profiles and * partner profiles. *
*/ private java.util.List* Key-value pairs that can be used to group and search for AS2 profiles. *
*/ private java.util.List
* 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.
*
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.
*
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.
*
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: *
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer Family
* server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote organization,
* external to Transfer Family.
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer
* Family server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote
* organization, external to Transfer Family.
*
* Determines the type of profile to create: *
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer Family
* server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote organization,
* external to Transfer Family.
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer
* Family server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote
* organization, external to Transfer Family.
*
* Determines the type of profile to create: *
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer Family
* server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote organization,
* external to Transfer Family.
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer
* Family server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote
* organization, external to Transfer Family.
*
* Determines the type of profile to create: *
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer Family
* server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote organization,
* external to Transfer Family.
*
* Specify LOCAL
to create a local profile. A local profile represents the AS2-enabled Transfer
* Family server organization or party.
*
* Specify PARTNER
to create a partner profile. A partner profile represents a remote
* organization, external to Transfer Family.
*
* An array of identifiers for the imported certificates. You use this identifier for working with profiles and * partner profiles. *
* * @return An array of identifiers for the imported certificates. You use this identifier for working with profiles * and partner profiles. */ public java.util.List* An array of identifiers for the imported certificates. You use this identifier for working with profiles and * partner profiles. *
* * @param certificateIds * An array of identifiers for the imported certificates. You use this identifier for working with profiles * and partner profiles. */ public void setCertificateIds(java.util.Collection* An array of identifiers for the imported certificates. You use this identifier for working with profiles and * partner profiles. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCertificateIds(java.util.Collection)} or {@link #withCertificateIds(java.util.Collection)} if you want * to override the existing values. *
* * @param certificateIds * An array of identifiers for the imported certificates. You use this identifier for working with profiles * and partner profiles. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileRequest withCertificateIds(String... certificateIds) { if (this.certificateIds == null) { setCertificateIds(new java.util.ArrayList* An array of identifiers for the imported certificates. You use this identifier for working with profiles and * partner profiles. *
* * @param certificateIds * An array of identifiers for the imported certificates. You use this identifier for working with profiles * and partner profiles. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileRequest withCertificateIds(java.util.Collection* Key-value pairs that can be used to group and search for AS2 profiles. *
* * @return Key-value pairs that can be used to group and search for AS2 profiles. */ public java.util.List* Key-value pairs that can be used to group and search for AS2 profiles. *
* * @param tags * Key-value pairs that can be used to group and search for AS2 profiles. */ public void setTags(java.util.Collection* Key-value pairs that can be used to group and search for AS2 profiles. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * Key-value pairs that can be used to group and search for AS2 profiles. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* Key-value pairs that can be used to group and search for AS2 profiles. *
* * @param tags * Key-value pairs that can be used to group and search for AS2 profiles. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileRequest withTags(java.util.Collection