@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedProfile extends Object implements Serializable, Cloneable, StructuredPojo
The details for a local or partner AS2 profile.
Constructor and Description |
---|
DescribedProfile() |
Modifier and Type | Method and Description |
---|---|
DescribedProfile |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The unique Amazon Resource Name (ARN) for the profile.
|
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 |
getProfileId()
A unique identifier for the local or partner AS2 profile.
|
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 profiles.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The unique Amazon Resource Name (ARN) for the profile.
|
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 |
setProfileId(String profileId)
A unique identifier for the local or partner AS2 profile.
|
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 profiles.
|
String |
toString()
Returns a string representation of this object.
|
DescribedProfile |
withArn(String arn)
The unique Amazon Resource Name (ARN) for the profile.
|
DescribedProfile |
withAs2Id(String as2Id)
The
As2Id is the AS2-name, as defined in the RFC 4130. |
DescribedProfile |
withCertificateIds(Collection<String> certificateIds)
An array of identifiers for the imported certificates.
|
DescribedProfile |
withCertificateIds(String... certificateIds)
An array of identifiers for the imported certificates.
|
DescribedProfile |
withProfileId(String profileId)
A unique identifier for the local or partner AS2 profile.
|
DescribedProfile |
withProfileType(ProfileType profileType)
Indicates whether to list only
LOCAL type profiles or only PARTNER type profiles. |
DescribedProfile |
withProfileType(String profileType)
Indicates whether to list only
LOCAL type profiles or only PARTNER type profiles. |
DescribedProfile |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for profiles.
|
DescribedProfile |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for profiles.
|
public void setArn(String arn)
The unique Amazon Resource Name (ARN) for the profile.
arn
- The unique Amazon Resource Name (ARN) for the profile.public String getArn()
The unique Amazon Resource Name (ARN) for the profile.
public DescribedProfile withArn(String arn)
The unique Amazon Resource Name (ARN) for the profile.
arn
- The unique Amazon Resource Name (ARN) for the profile.public void setProfileId(String profileId)
A unique identifier for the local or partner AS2 profile.
profileId
- A unique identifier for the local or partner AS2 profile.public String getProfileId()
A unique identifier for the local or partner AS2 profile.
public DescribedProfile withProfileId(String profileId)
A unique identifier for the local or partner AS2 profile.
profileId
- A unique identifier for the local or partner AS2 profile.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 DescribedProfile 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 DescribedProfile 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 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 DescribedProfile 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 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 DescribedProfile 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 DescribedProfile 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 profiles.
public void setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for profiles.
tags
- Key-value pairs that can be used to group and search for profiles.public DescribedProfile withTags(Tag... tags)
Key-value pairs that can be used to group and search for 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 profiles.public DescribedProfile withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for profiles.
tags
- Key-value pairs that can be used to group and search for profiles.public String toString()
toString
in class Object
Object.toString()
public DescribedProfile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.