@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgreementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateAgreementResult() |
Modifier and Type | Method and Description |
---|---|
CreateAgreementResult |
clone() |
boolean |
equals(Object obj) |
String |
getAgreementId()
The unique identifier for the agreement.
|
int |
hashCode() |
void |
setAgreementId(String agreementId)
The unique identifier for the agreement.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgreementResult |
withAgreementId(String agreementId)
The unique identifier for the agreement.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAgreementId(String agreementId)
The unique identifier for the agreement. Use this ID for deleting, or updating an agreement, as well as in any other API calls that require that you specify the agreement ID.
agreementId
- The unique identifier for the agreement. Use this ID for deleting, or updating an agreement, as well as in
any other API calls that require that you specify the agreement ID.public String getAgreementId()
The unique identifier for the agreement. Use this ID for deleting, or updating an agreement, as well as in any other API calls that require that you specify the agreement ID.
public CreateAgreementResult withAgreementId(String agreementId)
The unique identifier for the agreement. Use this ID for deleting, or updating an agreement, as well as in any other API calls that require that you specify the agreement ID.
agreementId
- The unique identifier for the agreement. Use this ID for deleting, or updating an agreement, as well as in
any other API calls that require that you specify the agreement ID.public String toString()
toString
in class Object
Object.toString()
public CreateAgreementResult clone()