@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListedAgreement extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of an agreement.
Constructor and Description |
---|
ListedAgreement() |
Modifier and Type | Method and Description |
---|---|
ListedAgreement |
clone() |
boolean |
equals(Object obj) |
String |
getAgreementId()
A unique identifier for the agreement.
|
String |
getArn()
The Amazon Resource Name (ARN) of the specified agreement.
|
String |
getDescription()
The current description for the agreement.
|
String |
getLocalProfileId()
A unique identifier for the AS2 local profile.
|
String |
getPartnerProfileId()
A unique identifier for the partner profile.
|
String |
getServerId()
The unique identifier for the agreement.
|
String |
getStatus()
The agreement can be either
ACTIVE or INACTIVE . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgreementId(String agreementId)
A unique identifier for the agreement.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the specified agreement.
|
void |
setDescription(String description)
The current description for 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.
|
void |
setServerId(String serverId)
The unique identifier for the agreement.
|
void |
setStatus(String status)
The agreement can be either
ACTIVE or INACTIVE . |
String |
toString()
Returns a string representation of this object.
|
ListedAgreement |
withAgreementId(String agreementId)
A unique identifier for the agreement.
|
ListedAgreement |
withArn(String arn)
The Amazon Resource Name (ARN) of the specified agreement.
|
ListedAgreement |
withDescription(String description)
The current description for the agreement.
|
ListedAgreement |
withLocalProfileId(String localProfileId)
A unique identifier for the AS2 local profile.
|
ListedAgreement |
withPartnerProfileId(String partnerProfileId)
A unique identifier for the partner profile.
|
ListedAgreement |
withServerId(String serverId)
The unique identifier for the agreement.
|
ListedAgreement |
withStatus(AgreementStatusType status)
The agreement can be either
ACTIVE or INACTIVE . |
ListedAgreement |
withStatus(String status)
The agreement can be either
ACTIVE or INACTIVE . |
public void setArn(String arn)
The Amazon Resource Name (ARN) of the specified agreement.
arn
- The Amazon Resource Name (ARN) of the specified agreement.public String getArn()
The Amazon Resource Name (ARN) of the specified agreement.
public ListedAgreement withArn(String arn)
The Amazon Resource Name (ARN) of the specified agreement.
arn
- The Amazon Resource Name (ARN) of the specified 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 ListedAgreement 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 current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.
description
- The current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.public String getDescription()
The current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.
UpdateAgreement
operation and providing a new description.public ListedAgreement withDescription(String description)
The current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.
description
- The current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.public void setStatus(String status)
The agreement can be either ACTIVE
or INACTIVE
.
status
- The agreement can be either ACTIVE
or INACTIVE
.AgreementStatusType
public String getStatus()
The agreement can be either ACTIVE
or INACTIVE
.
ACTIVE
or INACTIVE
.AgreementStatusType
public ListedAgreement withStatus(String status)
The agreement can be either ACTIVE
or INACTIVE
.
status
- The agreement can be either ACTIVE
or INACTIVE
.AgreementStatusType
public ListedAgreement withStatus(AgreementStatusType status)
The agreement can be either ACTIVE
or INACTIVE
.
status
- The agreement can be either ACTIVE
or INACTIVE
.AgreementStatusType
public void setServerId(String serverId)
The unique identifier for the agreement.
serverId
- The unique identifier for the agreement.public String getServerId()
The unique identifier for the agreement.
public ListedAgreement withServerId(String serverId)
The unique identifier for the agreement.
serverId
- The unique identifier for the agreement.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 ListedAgreement 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.
partnerProfileId
- A unique identifier for the partner profile.public String getPartnerProfileId()
A unique identifier for the partner profile.
public ListedAgreement withPartnerProfileId(String partnerProfileId)
A unique identifier for the partner profile.
partnerProfileId
- A unique identifier for the partner profile.public String toString()
toString
in class Object
Object.toString()
public ListedAgreement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.