Interface RegisterDomainRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>, SdkBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>, SdkPojo, SdkRequest.Builder, SwfRequest.Builder
Enclosing class:
RegisterDomainRequest

public static interface RegisterDomainRequest.Builder extends SwfRequest.Builder, SdkPojo, CopyableBuilder<RegisterDomainRequest.Builder,RegisterDomainRequest>
  • Method Details

    • 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 be the literal string arn.

      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 be the literal string arn.

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

      RegisterDomainRequest.Builder description(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.
    • workflowExecutionRetentionPeriodInDays

      RegisterDomainRequest.Builder workflowExecutionRetentionPeriodInDays(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 isn't available in the results of visibility calls.

      If you pass the value NONE or 0 (zero), then the workflow execution history isn't 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 isn't available in the results of visibility calls.

      If you pass the value NONE or 0 (zero), then the workflow execution history isn't 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.
    • tags

      Tags to be added when registering a domain.

      Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

      Parameters:
      tags - Tags to be added when registering a domain.

      Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

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

      Tags to be added when registering a domain.

      Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

      Parameters:
      tags - Tags to be added when registering a domain.

      Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

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

      Tags to be added when registering a domain.

      Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

      This is a convenience method that creates an instance of the ResourceTag.Builder avoiding the need to create one manually via ResourceTag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<ResourceTag>).

      Parameters:
      tags - a consumer that will call methods on ResourceTag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      RegisterDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.