public class DeprecateActivityTypeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private ActivityType |
activityType
The activity type to deprecate.
|
private java.lang.String |
domain
The name of the domain in which the activity type is registered.
|
NOOP
Constructor and Description |
---|
DeprecateActivityTypeRequest() |
Modifier and Type | Method and Description |
---|---|
DeprecateActivityTypeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
ActivityType |
getActivityType()
The activity type to deprecate.
|
java.lang.String |
getDomain()
The name of the domain in which the activity type is registered.
|
int |
hashCode() |
void |
setActivityType(ActivityType activityType)
The activity type to deprecate.
|
void |
setDomain(java.lang.String domain)
The name of the domain in which the activity type is registered.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeprecateActivityTypeRequest |
withActivityType(ActivityType activityType)
The activity type to deprecate.
|
DeprecateActivityTypeRequest |
withDomain(java.lang.String domain)
The name of the domain in which the activity type is registered.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String domain
The name of the domain in which the activity type is registered.
private ActivityType activityType
The activity type to deprecate.
public void setDomain(java.lang.String domain)
The name of the domain in which the activity type is registered.
domain
- The name of the domain in which the activity type is registered.public java.lang.String getDomain()
The name of the domain in which the activity type is registered.
public DeprecateActivityTypeRequest withDomain(java.lang.String domain)
The name of the domain in which the activity type is registered.
domain
- The name of the domain in which the activity type is registered.public void setActivityType(ActivityType activityType)
The activity type to deprecate.
activityType
- The activity type to deprecate.public ActivityType getActivityType()
The activity type to deprecate.
public DeprecateActivityTypeRequest withActivityType(ActivityType activityType)
The activity type to deprecate.
activityType
- The activity type to deprecate.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeprecateActivityTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()