Interface CreateCidrCollectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateCidrCollectionResponse.Builder,
,CreateCidrCollectionResponse> Route53Response.Builder
,SdkBuilder<CreateCidrCollectionResponse.Builder,
,CreateCidrCollectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateCidrCollectionResponse
public static interface CreateCidrCollectionResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<CreateCidrCollectionResponse.Builder,CreateCidrCollectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncollection
(Consumer<CidrCollection.Builder> collection) A complex type that contains information about the CIDR collection.collection
(CidrCollection collection) A complex type that contains information about the CIDR collection.A unique URL that represents the location for the CIDR collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
collection
A complex type that contains information about the CIDR collection.
- Parameters:
collection
- A complex type that contains information about the CIDR collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collection
default CreateCidrCollectionResponse.Builder collection(Consumer<CidrCollection.Builder> collection) A complex type that contains information about the CIDR collection.
This is a convenience method that creates an instance of theCidrCollection.Builder
avoiding the need to create one manually viaCidrCollection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocollection(CidrCollection)
.- Parameters:
collection
- a consumer that will call methods onCidrCollection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
A unique URL that represents the location for the CIDR collection.
- Parameters:
location
- A unique URL that represents the location for the CIDR collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-