Interface CreateHealthCheckSourceRequest.Builder

  • Method Details

    • callerReference

      CreateHealthCheckSourceRequest.Builder callerReference(String callerReference)

      A unique, case-sensitive identifier that ensures that the operation completes no more than one time. If you retry a CreateHealthCheckSource request with the same CallerReference and the same settings as a previous request, Route 53 returns the existing health check source without creating a duplicate. If that health check source has a status of CREATE_FAILED, Route 53 tries to create it again. To create a new health check source after a failure, specify a new value for CallerReference. If a health check source with the same CallerReference already exists and the settings differ, Route 53 returns a HealthCheckSourceAlreadyExists error.

      Parameters:
      callerReference - A unique, case-sensitive identifier that ensures that the operation completes no more than one time. If you retry a CreateHealthCheckSource request with the same CallerReference and the same settings as a previous request, Route 53 returns the existing health check source without creating a duplicate. If that health check source has a status of CREATE_FAILED, Route 53 tries to create it again. To create a new health check source after a failure, specify a new value for CallerReference. If a health check source with the same CallerReference already exists and the settings differ, Route 53 returns a HealthCheckSourceAlreadyExists error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckSourceConfig

      CreateHealthCheckSourceRequest.Builder healthCheckSourceConfig(HealthCheckSourceConfig healthCheckSourceConfig)

      A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.

      Parameters:
      healthCheckSourceConfig - A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckSourceConfig

      default CreateHealthCheckSourceRequest.Builder healthCheckSourceConfig(Consumer<HealthCheckSourceConfig.Builder> healthCheckSourceConfig)

      A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.

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

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

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

      A complex type that contains a list of the tags that you want to apply to the health check source when you create it.

      Parameters:
      tags - A complex type that contains a list of the tags that you want to apply to the health check source when you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A complex type that contains a list of the tags that you want to apply to the health check source when you create it.

      Parameters:
      tags - A complex type that contains a list of the tags that you want to apply to the health check source when you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A complex type that contains a list of the tags that you want to apply to the health check source when you create it.

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

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

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

      CreateHealthCheckSourceRequest.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.