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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCidrCollectionResponse.Buildercollection(Consumer<CidrCollection.Builder> collection)A complex type that contains information about the CIDR collection.CreateCidrCollectionResponse.Buildercollection(CidrCollection collection)A complex type that contains information about the CIDR collection.CreateCidrCollectionResponse.Builderlocation(String location)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 Detail
-
collection
CreateCidrCollectionResponse.Builder collection(CidrCollection 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.Builderavoiding the need to create one manually viaCidrCollection.builder().When the
Consumercompletes,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:
collection(CidrCollection)
-
location
CreateCidrCollectionResponse.Builder location(String 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.
-
-