Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class DeprecateActivityTypeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleworkflow.model.DeprecateActivityTypeRequest
All Implemented Interfaces:
java.io.Serializable

public class DeprecateActivityTypeRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DeprecateActivityType operation.

Deprecates the specified activity type . After an activity type has been deprecated, you cannot create new tasks of that activity type. Tasks of this type that were scheduled before the type was deprecated will continue to run.

NOTE: This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails by throwing OperationNotPermitted . For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .

See Also:
AmazonSimpleWorkflow.deprecateActivityType(DeprecateActivityTypeRequest), Serialized Form

Constructor Summary
DeprecateActivityTypeRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeprecateActivityTypeRequest

public DeprecateActivityTypeRequest()
Method Detail

getDomain

public java.lang.String getDomain()
The name of the domain in which the activity type is registered.

Constraints:
Length: 1 - 256

Returns:
The name of the domain in which the activity type is registered.

setDomain

public void setDomain(java.lang.String domain)
The name of the domain in which the activity type is registered.

Constraints:
Length: 1 - 256

Parameters:
domain - The name of the domain in which the activity type is registered.

withDomain

public DeprecateActivityTypeRequest withDomain(java.lang.String domain)
The name of the domain in which the activity type is registered.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

Parameters:
domain - The name of the domain in which the activity type is registered.
Returns:
A reference to this updated object so that method calls can be chained together.

getActivityType

public ActivityType getActivityType()
The activity type to deprecate.

Returns:
The activity type to deprecate.

setActivityType

public void setActivityType(ActivityType activityType)
The activity type to deprecate.

Parameters:
activityType - The activity type to deprecate.

withActivityType

public DeprecateActivityTypeRequest withActivityType(ActivityType activityType)
The activity type to deprecate.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityType - The activity type to deprecate.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.