@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAgreementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAgreementRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAgreementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAgreementId()
A unique identifier for the agreement.
|
String |
getServerId()
The server identifier that's associated with the agreement.
|
int |
hashCode() |
void |
setAgreementId(String agreementId)
A unique identifier for the agreement.
|
void |
setServerId(String serverId)
The server identifier that's associated with the agreement.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAgreementRequest |
withAgreementId(String agreementId)
A unique identifier for the agreement.
|
DescribeAgreementRequest |
withServerId(String serverId)
The server identifier that's associated with the agreement.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 DescribeAgreementRequest 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 setServerId(String serverId)
The server identifier that's associated with the agreement.
serverId
- The server identifier that's associated with the agreement.public String getServerId()
The server identifier that's associated with the agreement.
public DescribeAgreementRequest withServerId(String serverId)
The server identifier that's associated with the agreement.
serverId
- The server identifier that's associated with the agreement.public String toString()
toString
in class Object
Object.toString()
public DescribeAgreementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()