@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedAgreement extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of an agreement.
Constructor and Description |
---|
DescribedAgreement() |
Modifier and Type | Method and Description |
---|---|
DescribedAgreement |
clone() |
boolean |
equals(Object obj) |
String |
getAccessRole()
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
String |
getAgreementId()
A unique identifier for the agreement.
|
String |
getArn()
The unique Amazon Resource Name (ARN) for the agreement.
|
String |
getBaseDirectory()
The landing directory (folder) for files that are transferred by using the AS2 protocol.
|
String |
getDescription()
The name or short description that's used to identify the agreement.
|
String |
getLocalProfileId()
A unique identifier for the AS2 local profile.
|
String |
getPartnerProfileId()
A unique identifier for the partner profile used in the agreement.
|
String |
getServerId()
A system-assigned unique identifier for a server instance.
|
String |
getStatus()
The current status of the agreement, either
ACTIVE or INACTIVE . |
List<Tag> |
getTags()
Key-value pairs that can be used to group and search for agreements.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
void |
setAgreementId(String agreementId)
A unique identifier for the agreement.
|
void |
setArn(String arn)
The unique Amazon Resource Name (ARN) for the agreement.
|
void |
setBaseDirectory(String baseDirectory)
The landing directory (folder) for files that are transferred by using the AS2 protocol.
|
void |
setDescription(String description)
The name or short description that's used to identify the agreement.
|
void |
setLocalProfileId(String localProfileId)
A unique identifier for the AS2 local profile.
|
void |
setPartnerProfileId(String partnerProfileId)
A unique identifier for the partner profile used in the agreement.
|
void |
setServerId(String serverId)
A system-assigned unique identifier for a server instance.
|
void |
setStatus(String status)
The current status of the agreement, either
ACTIVE or INACTIVE . |
void |
setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for agreements.
|
String |
toString()
Returns a string representation of this object.
|
DescribedAgreement |
withAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
DescribedAgreement |
withAgreementId(String agreementId)
A unique identifier for the agreement.
|
DescribedAgreement |
withArn(String arn)
The unique Amazon Resource Name (ARN) for the agreement.
|
DescribedAgreement |
withBaseDirectory(String baseDirectory)
The landing directory (folder) for files that are transferred by using the AS2 protocol.
|
DescribedAgreement |
withDescription(String description)
The name or short description that's used to identify the agreement.
|
DescribedAgreement |
withLocalProfileId(String localProfileId)
A unique identifier for the AS2 local profile.
|
DescribedAgreement |
withPartnerProfileId(String partnerProfileId)
A unique identifier for the partner profile used in the agreement.
|
DescribedAgreement |
withServerId(String serverId)
A system-assigned unique identifier for a server instance.
|
DescribedAgreement |
withStatus(AgreementStatusType status)
The current status of the agreement, either
ACTIVE or INACTIVE . |
DescribedAgreement |
withStatus(String status)
The current status of the agreement, either
ACTIVE or INACTIVE . |
DescribedAgreement |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for agreements.
|
DescribedAgreement |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for agreements.
|
public void setArn(String arn)
The unique Amazon Resource Name (ARN) for the agreement.
arn
- The unique Amazon Resource Name (ARN) for the agreement.public String getArn()
The unique Amazon Resource Name (ARN) for the agreement.
public DescribedAgreement withArn(String arn)
The unique Amazon Resource Name (ARN) for the agreement.
arn
- The unique Amazon Resource Name (ARN) for the agreement.public void setAgreementId(String agreementId)
A unique identifier for the agreement. This identifier is returned when you create an agreement.
agreementId
- A unique identifier for the agreement. This identifier is returned when you create an agreement.public String getAgreementId()
A unique identifier for the agreement. This identifier is returned when you create an agreement.
public DescribedAgreement withAgreementId(String agreementId)
A unique identifier for the agreement. This identifier is returned when you create an agreement.
agreementId
- A unique identifier for the agreement. This identifier is returned when you create an agreement.public void setDescription(String description)
The name or short description that's used to identify the agreement.
description
- The name or short description that's used to identify the agreement.public String getDescription()
The name or short description that's used to identify the agreement.
public DescribedAgreement withDescription(String description)
The name or short description that's used to identify the agreement.
description
- The name or short description that's used to identify the agreement.public void setStatus(String status)
The current status of the agreement, either ACTIVE
or INACTIVE
.
status
- The current status of the agreement, either ACTIVE
or INACTIVE
.AgreementStatusType
public String getStatus()
The current status of the agreement, either ACTIVE
or INACTIVE
.
ACTIVE
or INACTIVE
.AgreementStatusType
public DescribedAgreement withStatus(String status)
The current status of the agreement, either ACTIVE
or INACTIVE
.
status
- The current status of the agreement, either ACTIVE
or INACTIVE
.AgreementStatusType
public DescribedAgreement withStatus(AgreementStatusType status)
The current status of the agreement, either ACTIVE
or INACTIVE
.
status
- The current status of the agreement, either ACTIVE
or INACTIVE
.AgreementStatusType
public void setServerId(String serverId)
A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.
serverId
- A system-assigned unique identifier for a server instance. This identifier indicates the specific server
that the agreement uses.public String getServerId()
A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.
public DescribedAgreement withServerId(String serverId)
A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.
serverId
- A system-assigned unique identifier for a server instance. This identifier indicates the specific server
that the agreement uses.public void setLocalProfileId(String localProfileId)
A unique identifier for the AS2 local profile.
localProfileId
- A unique identifier for the AS2 local profile.public String getLocalProfileId()
A unique identifier for the AS2 local profile.
public DescribedAgreement withLocalProfileId(String localProfileId)
A unique identifier for the AS2 local profile.
localProfileId
- A unique identifier for the AS2 local profile.public void setPartnerProfileId(String partnerProfileId)
A unique identifier for the partner profile used in the agreement.
partnerProfileId
- A unique identifier for the partner profile used in the agreement.public String getPartnerProfileId()
A unique identifier for the partner profile used in the agreement.
public DescribedAgreement withPartnerProfileId(String partnerProfileId)
A unique identifier for the partner profile used in the agreement.
partnerProfileId
- A unique identifier for the partner profile used in the agreement.public void setBaseDirectory(String baseDirectory)
The landing directory (folder) for files that are transferred by using the AS2 protocol.
baseDirectory
- The landing directory (folder) for files that are transferred by using the AS2 protocol.public String getBaseDirectory()
The landing directory (folder) for files that are transferred by using the AS2 protocol.
public DescribedAgreement withBaseDirectory(String baseDirectory)
The landing directory (folder) for files that are transferred by using the AS2 protocol.
baseDirectory
- The landing directory (folder) for files that are transferred by using the AS2 protocol.public void setAccessRole(String accessRole)
With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in the
request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a
final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to
provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the parent
directory of the files that you intend to send with StartFileTransfer
.
accessRole
- With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in
the request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and
write a final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the
parent directory of the files that you intend to send with StartFileTransfer
.public String getAccessRole()
With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in the
request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a
final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to
provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the parent
directory of the files that you intend to send with StartFileTransfer
.
StartFileTransfer
and specifying the file paths in
the request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and
write a final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the
parent directory of the files that you intend to send with StartFileTransfer
.public DescribedAgreement withAccessRole(String accessRole)
With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in the
request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a
final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to
provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the parent
directory of the files that you intend to send with StartFileTransfer
.
accessRole
- With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in
the request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and
write a final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the
parent directory of the files that you intend to send with StartFileTransfer
.public List<Tag> getTags()
Key-value pairs that can be used to group and search for agreements.
public void setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for agreements.
tags
- Key-value pairs that can be used to group and search for agreements.public DescribedAgreement withTags(Tag... tags)
Key-value pairs that can be used to group and search for agreements.
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 agreements.public DescribedAgreement withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for agreements.
tags
- Key-value pairs that can be used to group and search for agreements.public String toString()
toString
in class Object
Object.toString()
public DescribedAgreement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.