@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAs2Id()
The
As2Id is the AS2-name, as defined in the RFC 4130. |
List<String> |
getCertificateIds()
An array of identifiers for the imported certificates.
|
String |
getProfileType()
Indicates whether to list only
LOCAL type profiles or only PARTNER type profiles. |
List<Tag> |
getTags()
Key-value pairs that can be used to group and search for AS2 profiles.
|
int |
hashCode() |
void |
setAs2Id(String as2Id)
The
As2Id is the AS2-name, as defined in the RFC 4130. |
void |
setCertificateIds(Collection<String> certificateIds)
An array of identifiers for the imported certificates.
|
void |
setProfileType(String profileType)
Indicates whether to list only
LOCAL type profiles or only PARTNER type profiles. |
void |
setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for AS2 profiles.
|
String |
toString()
Returns a string representation of this object.
|
CreateProfileRequest |
withAs2Id(String as2Id)
The
As2Id is the AS2-name, as defined in the RFC 4130. |
CreateProfileRequest |
withCertificateIds(Collection<String> certificateIds)
An array of identifiers for the imported certificates.
|
CreateProfileRequest |
withCertificateIds(String... certificateIds)
An array of identifiers for the imported certificates.
|
CreateProfileRequest |
withProfileType(ProfileType profileType)
Indicates whether to list only
LOCAL type profiles or only PARTNER type profiles. |
CreateProfileRequest |
withProfileType(String profileType)
Indicates whether to list only
LOCAL type profiles or only PARTNER type profiles. |
CreateProfileRequest |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for AS2 profiles.
|
CreateProfileRequest |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for AS2 profiles.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAs2Id(String 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
- 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()
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 CreateProfileRequest withAs2Id(String 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
- 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 setProfileType(String profileType)
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If
not supplied in the request, the command lists all types of profiles.
profileType
- Indicates whether to list only LOCAL
type profiles or only PARTNER
type
profiles. If not supplied in the request, the command lists all types of profiles.ProfileType
public String getProfileType()
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If
not supplied in the request, the command lists all types of profiles.
LOCAL
type profiles or only PARTNER
type
profiles. If not supplied in the request, the command lists all types of profiles.ProfileType
public CreateProfileRequest withProfileType(String profileType)
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If
not supplied in the request, the command lists all types of profiles.
profileType
- Indicates whether to list only LOCAL
type profiles or only PARTNER
type
profiles. If not supplied in the request, the command lists all types of profiles.ProfileType
public CreateProfileRequest withProfileType(ProfileType profileType)
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If
not supplied in the request, the command lists all types of profiles.
profileType
- Indicates whether to list only LOCAL
type profiles or only PARTNER
type
profiles. If not supplied in the request, the command lists all types of profiles.ProfileType
public List<String> getCertificateIds()
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
public void setCertificateIds(Collection<String> certificateIds)
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
certificateIds
- An array of identifiers for the imported certificates. You use this identifier for working with profiles
and partner profiles.public CreateProfileRequest withCertificateIds(String... certificateIds)
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
setCertificateIds(java.util.Collection)
or withCertificateIds(java.util.Collection)
if you want
to override the existing values.
certificateIds
- An array of identifiers for the imported certificates. You use this identifier for working with profiles
and partner profiles.public CreateProfileRequest withCertificateIds(Collection<String> certificateIds)
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
certificateIds
- An array of identifiers for the imported certificates. You use this identifier for working with profiles
and partner profiles.public List<Tag> getTags()
Key-value pairs that can be used to group and search for AS2 profiles.
public void setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for AS2 profiles.
tags
- Key-value pairs that can be used to group and search for AS2 profiles.public CreateProfileRequest withTags(Tag... tags)
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
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Key-value pairs that can be used to group and search for AS2 profiles.public CreateProfileRequest withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for AS2 profiles.
tags
- Key-value pairs that can be used to group and search for AS2 profiles.public String toString()
toString
in class Object
Object.toString()
public CreateProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()