Class RegisterDomainRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleworkflow.model.RegisterDomainRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RegisterDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RegisterDomainRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterDomainRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDescription()
A text description of the domain.String
getName()
Name of the domain to register.String
getWorkflowExecutionRetentionPeriodInDays()
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service.int
hashCode()
void
setDescription(String description)
A text description of the domain.void
setName(String name)
Name of the domain to register.void
setWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
The duration (in days) that records and histories of workflow executions on the 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)
A text description of the domain.RegisterDomainRequest
withName(String name)
Name of the domain to register.RegisterDomainRequest
withWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setName
public void setName(String name)
Name of the domain to register. The name must be unique in the region that the domain is registered in.
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 quotarnquot.- Parameters:
name
- Name of the domain to register. The name must be unique in the region that the domain is registered in.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 quotarnquot.
-
getName
public String getName()
Name of the domain to register. The name must be unique in the region that the domain is registered in.
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 quotarnquot.- Returns:
- Name of the domain to register. The name must be unique in the
region that the domain is registered in.
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 quotarnquot.
-
withName
public RegisterDomainRequest withName(String name)
Name of the domain to register. The name must be unique in the region that the domain is registered in.
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 quotarnquot.- Parameters:
name
- Name of the domain to register. The name must be unique in the region that the domain is registered in.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 quotarnquot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A text description of the domain.
- Parameters:
description
- A text description of the domain.
-
getDescription
public String getDescription()
A text description of the domain.
- Returns:
- A text description of the domain.
-
withDescription
public RegisterDomainRequest withDescription(String description)
A text description of the domain.
- Parameters:
description
- A text description of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWorkflowExecutionRetentionPeriodInDays
public void setWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls.
If you pass the value
NONE
or0
(zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
- Parameters:
workflowExecutionRetentionPeriodInDays
- The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls.If you pass the value
NONE
or0
(zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
-
getWorkflowExecutionRetentionPeriodInDays
public String getWorkflowExecutionRetentionPeriodInDays()
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls.
If you pass the value
NONE
or0
(zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
- Returns:
- The duration (in days) that records and histories of workflow
executions on the domain should be kept by the service. After the
retention period, the workflow execution is not available in the
results of visibility calls.
If you pass the value
NONE
or0
(zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
-
withWorkflowExecutionRetentionPeriodInDays
public RegisterDomainRequest withWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls.
If you pass the value
NONE
or0
(zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
- Parameters:
workflowExecutionRetentionPeriodInDays
- The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution is not available in the results of visibility calls.If you pass the value
NONE
or0
(zero), then the workflow execution history will not be retained. As soon as the workflow execution completes, the execution record and its history are deleted.The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterDomainRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-