@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLegalHoldRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetLegalHoldRequest() |
Modifier and Type | Method and Description |
---|---|
GetLegalHoldRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLegalHoldId()
This is the ID required to use
GetLegalHold . |
int |
hashCode() |
void |
setLegalHoldId(String legalHoldId)
This is the ID required to use
GetLegalHold . |
String |
toString()
Returns a string representation of this object.
|
GetLegalHoldRequest |
withLegalHoldId(String legalHoldId)
This is the ID required to use
GetLegalHold . |
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 setLegalHoldId(String legalHoldId)
This is the ID required to use GetLegalHold
. This unique ID is associated with a specific legal
hold.
legalHoldId
- This is the ID required to use GetLegalHold
. This unique ID is associated with a specific
legal hold.public String getLegalHoldId()
This is the ID required to use GetLegalHold
. This unique ID is associated with a specific legal
hold.
GetLegalHold
. This unique ID is associated with a specific
legal hold.public GetLegalHoldRequest withLegalHoldId(String legalHoldId)
This is the ID required to use GetLegalHold
. This unique ID is associated with a specific legal
hold.
legalHoldId
- This is the ID required to use GetLegalHold
. This unique ID is associated with a specific
legal hold.public String toString()
toString
in class Object
Object.toString()
public GetLegalHoldRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()