Interface DNSTargetResource.Builder

  • Method Details

    • domainName

      DNSTargetResource.Builder domainName(String domainName)

      The domain name that acts as an ingress point to a portion of the customer application.

      Parameters:
      domainName - The domain name that acts as an ingress point to a portion of the customer application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostedZoneArn

      DNSTargetResource.Builder hostedZoneArn(String hostedZoneArn)

      The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.

      Parameters:
      hostedZoneArn - The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordSetId

      DNSTargetResource.Builder recordSetId(String recordSetId)

      The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.

      Parameters:
      recordSetId - The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordType

      DNSTargetResource.Builder recordType(String recordType)

      The type of DNS record of the target resource.

      Parameters:
      recordType - The type of DNS record of the target resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetResource

      DNSTargetResource.Builder targetResource(TargetResource targetResource)

      The target resource of the DNS target resource.

      Parameters:
      targetResource - The target resource of the DNS target resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetResource

      default DNSTargetResource.Builder targetResource(Consumer<TargetResource.Builder> targetResource)

      The target resource of the DNS target resource.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetResource(TargetResource).

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