Class ListedAgreement
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.ListedAgreement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListedAgreement.Builder,ListedAgreement>
@Generated("software.amazon.awssdk:codegen") public final class ListedAgreement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListedAgreement.Builder,ListedAgreement>
Describes the properties of an agreement.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListedAgreement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagreementId()A unique identifier for the agreement.Stringarn()The Amazon Resource Name (ARN) of the specified agreement.static ListedAgreement.Builderbuilder()Stringdescription()The current description for the agreement.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocalProfileId()A unique identifier for the AS2 local profile.StringpartnerProfileId()A unique identifier for the partner profile.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListedAgreement.Builder>serializableBuilderClass()StringserverId()The unique identifier for the agreement.AgreementStatusTypestatus()The agreement can be eitherACTIVEorINACTIVE.StringstatusAsString()The agreement can be eitherACTIVEorINACTIVE.ListedAgreement.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the specified agreement.
- Returns:
- The Amazon Resource Name (ARN) of the specified agreement.
-
agreementId
public final String agreementId()
A unique identifier for the agreement. This identifier is returned when you create an agreement.
- Returns:
- A unique identifier for the agreement. This identifier is returned when you create an agreement.
-
description
public final String description()
The current description for the agreement. You can change it by calling the
UpdateAgreementoperation and providing a new description.- Returns:
- The current description for the agreement. You can change it by calling the
UpdateAgreementoperation and providing a new description.
-
status
public final AgreementStatusType status()
The agreement can be either
ACTIVEorINACTIVE.If the service returns an enum value that is not available in the current SDK version,
statuswill returnAgreementStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The agreement can be either
ACTIVEorINACTIVE. - See Also:
AgreementStatusType
-
statusAsString
public final String statusAsString()
The agreement can be either
ACTIVEorINACTIVE.If the service returns an enum value that is not available in the current SDK version,
statuswill returnAgreementStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The agreement can be either
ACTIVEorINACTIVE. - See Also:
AgreementStatusType
-
serverId
public final String serverId()
The unique identifier for the agreement.
- Returns:
- The unique identifier for the agreement.
-
localProfileId
public final String localProfileId()
A unique identifier for the AS2 local profile.
- Returns:
- A unique identifier for the AS2 local profile.
-
partnerProfileId
public final String partnerProfileId()
A unique identifier for the partner profile.
- Returns:
- A unique identifier for the partner profile.
-
toBuilder
public ListedAgreement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListedAgreement.Builder,ListedAgreement>
-
builder
public static ListedAgreement.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListedAgreement.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-