@Generated(value="software.amazon.awssdk:codegen") public final class ListedAgreement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListedAgreement.Builder,ListedAgreement>
Describes the properties of an agreement.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListedAgreement.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agreementId()
A unique identifier for the agreement.
|
String |
arn()
The Amazon Resource Name (ARN) of the specified agreement.
|
static ListedAgreement.Builder |
builder() |
String |
description()
The current description for the agreement.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
localProfileId()
A unique identifier for the AS2 local profile.
|
String |
partnerProfileId()
A unique identifier for the partner profile.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListedAgreement.Builder> |
serializableBuilderClass() |
String |
serverId()
The unique identifier for the agreement.
|
AgreementStatusType |
status()
The agreement can be either
ACTIVE or INACTIVE. |
String |
statusAsString()
The agreement can be either
ACTIVE or INACTIVE. |
ListedAgreement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the specified agreement.
public final String agreementId()
A unique identifier for the agreement. This identifier is returned when you create an agreement.
public final String description()
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 final AgreementStatusType status()
The agreement can be either ACTIVE or INACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return AgreementStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ACTIVE or INACTIVE.AgreementStatusTypepublic final String statusAsString()
The agreement can be either ACTIVE or INACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return AgreementStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ACTIVE or INACTIVE.AgreementStatusTypepublic final String serverId()
The unique identifier for the agreement.
public final String localProfileId()
A unique identifier for the AS2 local profile.
public final String partnerProfileId()
A unique identifier for the partner profile.
public ListedAgreement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListedAgreement.Builder,ListedAgreement>public static ListedAgreement.Builder builder()
public static Class<? extends ListedAgreement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.