public class RegisterDomainRequest extends AmazonWebServiceRequest implements Serializable
RegisterDomain operation
.
Registers a new domain.
Access Control
You can use IAM policies to control this action's access to Amazon SWF resources as follows:
Action
element to allow or deny permission to
call this action.If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .
NOOP
Constructor and Description |
---|
RegisterDomainRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 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 "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 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 "arn".
public String getDescription()
Constraints:
Length: 0 - 1024
public void setDescription(String description)
Constraints:
Length: 0 - 1024
description
- A text 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
- A text description of the domain.public String getWorkflowExecutionRetentionPeriodInDays()
If you pass the value
NONE
or 0
(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.
Constraints:
Length: 1 - 8
If you pass the value
NONE
or 0
(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.
public void setWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
If you pass the value
NONE
or 0
(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.
Constraints:
Length: 1 - 8
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
or 0
(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.
public RegisterDomainRequest withWorkflowExecutionRetentionPeriodInDays(String workflowExecutionRetentionPeriodInDays)
If you pass the value
NONE
or 0
(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 a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8
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
or 0
(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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.