|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleworkflow.model.RegisterDomainRequest
public class RegisterDomainRequest
Container for the parameters to the RegisterDomain operation
.
Registers a new domain.
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 |
---|
public RegisterDomainRequest()
Method Detail |
---|
public String getName()
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
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".
public void setName(String name)
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
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".
public RegisterDomainRequest withName(String name)
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
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".
public String getDescription()
Constraints:
Length: 0 - 1024
public void setDescription(String description)
Constraints:
Length: 0 - 1024
description
- Textual description of the domain.public RegisterDomainRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
description
- Textual description of the domain.
public String getWorkflowExecutionRetentionPeriodInDays()
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
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.
public void setWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
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
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.
public RegisterDomainRequest withWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
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
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.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |