@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()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least
the
HomeDirectory of your users' Amazon S3 buckets. |
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 process.
|
String |
getPartnerProfileId()
A unique identifier for the partner 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)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least
the
HomeDirectory of your users' Amazon S3 buckets. |
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 process.
|
void |
setPartnerProfileId(String partnerProfileId)
A unique identifier for the partner 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)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least
the
HomeDirectory of your users' Amazon S3 buckets. |
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 process.
|
DescribedAgreement |
withPartnerProfileId(String partnerProfileId)
A unique identifier for the partner 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.AgreementStatusTypepublic String getStatus()
The current status of the agreement, either ACTIVE or INACTIVE.
ACTIVE or INACTIVE.AgreementStatusTypepublic 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.AgreementStatusTypepublic 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.AgreementStatusTypepublic 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 process.
localProfileId - A unique identifier for the AS2 process.public String getLocalProfileId()
A unique identifier for the AS2 process.
public DescribedAgreement withLocalProfileId(String localProfileId)
A unique identifier for the AS2 process.
localProfileId - A unique identifier for the AS2 process.public void setPartnerProfileId(String partnerProfileId)
A unique identifier for the partner in the agreement.
partnerProfileId - A unique identifier for the partner in the agreement.public String getPartnerProfileId()
A unique identifier for the partner in the agreement.
public DescribedAgreement withPartnerProfileId(String partnerProfileId)
A unique identifier for the partner in the agreement.
partnerProfileId - A unique identifier for the partner 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)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least
the HomeDirectory of your users' Amazon S3 buckets.
accessRole - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at
least the HomeDirectory of your users' Amazon S3 buckets.public String getAccessRole()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least
the HomeDirectory of your users' Amazon S3 buckets.
HomeDirectory of your users' Amazon S3 buckets.public DescribedAgreement withAccessRole(String accessRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at least
the HomeDirectory of your users' Amazon S3 buckets.
accessRole - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that grants access to at
least the HomeDirectory of your users' Amazon S3 buckets.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 ObjectObject.toString()public DescribedAgreement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.