@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNotificationSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateNotificationSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateNotificationSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getActive()
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.
|
String |
getHITTypeId()
The ID of the HIT type whose notification specification is being updated.
|
NotificationSpecification |
getNotification()
The notification specification for the HIT type.
|
int |
hashCode() |
Boolean |
isActive()
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.
|
void |
setActive(Boolean active)
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.
|
void |
setHITTypeId(String hITTypeId)
The ID of the HIT type whose notification specification is being updated.
|
void |
setNotification(NotificationSpecification notification)
The notification specification for the HIT type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateNotificationSettingsRequest |
withActive(Boolean active)
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.
|
UpdateNotificationSettingsRequest |
withHITTypeId(String hITTypeId)
The ID of the HIT type whose notification specification is being updated.
|
UpdateNotificationSettingsRequest |
withNotification(NotificationSpecification notification)
The notification specification for the HIT type.
|
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 setHITTypeId(String hITTypeId)
The ID of the HIT type whose notification specification is being updated.
hITTypeId
- The ID of the HIT type whose notification specification is being updated.public String getHITTypeId()
The ID of the HIT type whose notification specification is being updated.
public UpdateNotificationSettingsRequest withHITTypeId(String hITTypeId)
The ID of the HIT type whose notification specification is being updated.
hITTypeId
- The ID of the HIT type whose notification specification is being updated.public void setNotification(NotificationSpecification notification)
The notification specification for the HIT type.
notification
- The notification specification for the HIT type.public NotificationSpecification getNotification()
The notification specification for the HIT type.
public UpdateNotificationSettingsRequest withNotification(NotificationSpecification notification)
The notification specification for the HIT type.
notification
- The notification specification for the HIT type.public void setActive(Boolean active)
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
active
- Specifies whether notifications are sent for HITs of this HIT type, according to the notification
specification. You must specify either the Notification parameter or the Active parameter for the call to
UpdateNotificationSettings to succeed.public Boolean getActive()
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
public UpdateNotificationSettingsRequest withActive(Boolean active)
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
active
- Specifies whether notifications are sent for HITs of this HIT type, according to the notification
specification. You must specify either the Notification parameter or the Active parameter for the call to
UpdateNotificationSettings to succeed.public Boolean isActive()
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.
public String toString()
toString
in class Object
Object.toString()
public UpdateNotificationSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.