Interface ChangeCidrCollectionRequest.Builder

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

public static interface ChangeCidrCollectionRequest.Builder extends Route53Request.Builder, SdkPojo, CopyableBuilder<ChangeCidrCollectionRequest.Builder,ChangeCidrCollectionRequest>
  • Method Details

    • id

      The UUID of the CIDR collection to update.

      Parameters:
      id - The UUID of the CIDR collection to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectionVersion

      ChangeCidrCollectionRequest.Builder collectionVersion(Long collectionVersion)

      A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.

      We recommend that you use ListCidrCollection to get the current value of CollectionVersion for the collection that you want to update, and then include that value with the change request. This prevents Route 53 from overwriting an intervening update:

      • If the value in the request matches the value of CollectionVersion in the collection, Route 53 updates the collection.

      • If the value of CollectionVersion in the collection is greater than the value in the request, the collection was changed after you got the version number. Route 53 does not update the collection, and it returns a CidrCollectionVersionMismatch error.

      Parameters:
      collectionVersion - A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.

      We recommend that you use ListCidrCollection to get the current value of CollectionVersion for the collection that you want to update, and then include that value with the change request. This prevents Route 53 from overwriting an intervening update:

      • If the value in the request matches the value of CollectionVersion in the collection, Route 53 updates the collection.

      • If the value of CollectionVersion in the collection is greater than the value in the request, the collection was changed after you got the version number. Route 53 does not update the collection, and it returns a CidrCollectionVersionMismatch error.

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

      Information about changes to a CIDR collection.

      Parameters:
      changes - Information about changes to a CIDR collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changes

      Information about changes to a CIDR collection.

      Parameters:
      changes - Information about changes to a CIDR collection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changes

      Information about changes to a CIDR collection.

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

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

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

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