com.amazonaws.services.simpleworkflow.model
Class RegisterDomainRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleworkflow.model.RegisterDomainRequest

public class RegisterDomainRequest
extends AmazonWebServiceRequest

Container for the parameters to the RegisterDomain operation.

Registers a new domain.

See Also:
AmazonSimpleWorkflow.registerDomain(RegisterDomainRequest)

Constructor Summary
RegisterDomainRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Textual description of the domain.
 String getName()
          Name of the domain to register.
 String getWorkflowExecutionRetentionPeriodInDays()
          Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service.
 int hashCode()
           
 void setDescription(String description)
          Textual description of the domain.
 void setName(String name)
          Name of the domain to register.
 void setWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
          Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RegisterDomainRequest withDescription(String description)
          Textual description of the domain.
 RegisterDomainRequest withName(String name)
          Name of the domain to register.
 RegisterDomainRequest withWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
          Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service.
 
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

RegisterDomainRequest

public RegisterDomainRequest()
Method Detail

getName

public String getName()
Name of the domain to register. The name must be unique.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Constraints:
Length: 1 - 256

Returns:
Name of the domain to register. The name must be unique.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


setName

public void setName(String name)
Name of the domain to register. The name must be unique.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Constraints:
Length: 1 - 256

Parameters:
name - Name of the domain to register. The name must be unique.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


withName

public RegisterDomainRequest withName(String name)
Name of the domain to register. The name must be unique.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

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

Constraints:
Length: 1 - 256

Parameters:
name - Name of the domain to register. The name must be unique.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Textual description of the domain.

Constraints:
Length: 0 - 1024

Returns:
Textual description of the domain.

setDescription

public void setDescription(String description)
Textual description of the domain.

Constraints:
Length: 0 - 1024

Parameters:
description - Textual description of the domain.

withDescription

public RegisterDomainRequest withDescription(String description)
Textual description of the domain.

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

Constraints:
Length: 0 - 1024

Parameters:
description - Textual description of the domain.
Returns:
A reference to this updated object so that method calls can be chained together.

getWorkflowExecutionRetentionPeriodInDays

public String getWorkflowExecutionRetentionPeriodInDays()
Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

Constraints:
Length: 1 - 8

Returns:
Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.


setWorkflowExecutionRetentionPeriodInDays

public void setWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

Constraints:
Length: 1 - 8

Parameters:
workflowExecutionRetentionPeriodInDays - Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.


withWorkflowExecutionRetentionPeriodInDays

public RegisterDomainRequest withWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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

Constraints:
Length: 1 - 8

Parameters:
workflowExecutionRetentionPeriodInDays - Specifies the duration--in days--for which the record (including the history) of workflow executions in this domain should be kept by the service. After the retention period, the workflow execution will not be available in the results of visibility calls. If a duration of NONE is specified, the records for workflow executions in this domain are not retained at all.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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