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 Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
ChangeCidrCollectionRequest.Builder id(String 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
ListCidrCollectionto get the current value ofCollectionVersionfor 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
CollectionVersionin the collection, Route 53 updates the collection. -
If the value of
CollectionVersionin 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 aCidrCollectionVersionMismatcherror.
- 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
ListCidrCollectionto get the current value ofCollectionVersionfor 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
CollectionVersionin the collection, Route 53 updates the collection. -
If the value of
CollectionVersionin 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 aCidrCollectionVersionMismatcherror.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
changes
ChangeCidrCollectionRequest.Builder changes(Collection<CidrCollectionChange> 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
ChangeCidrCollectionRequest.Builder changes(CidrCollectionChange... 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
ChangeCidrCollectionRequest.Builder changes(Consumer<CidrCollectionChange.Builder>... changes)
Information about changes to a CIDR collection.
This is a convenience method that creates an instance of theCidrCollectionChange.Builderavoiding the need to create one manually viaCidrCollectionChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#changes(List.) - Parameters:
changes- a consumer that will call methods onCidrCollectionChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#changes(java.util.Collection)
-
overrideConfiguration
ChangeCidrCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ChangeCidrCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-