Interface ListCidrLocationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCidrLocationsResponse.Builder,ListCidrLocationsResponse>,Route53Response.Builder,SdkBuilder<ListCidrLocationsResponse.Builder,ListCidrLocationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCidrLocationsResponse
public static interface ListCidrLocationsResponse.Builder extends Route53Response.Builder, SdkPojo, CopyableBuilder<ListCidrLocationsResponse.Builder,ListCidrLocationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCidrLocationsResponse.BuildercidrLocations(Collection<LocationSummary> cidrLocations)A complex type that contains information about the list of CIDR locations.ListCidrLocationsResponse.BuildercidrLocations(Consumer<LocationSummary.Builder>... cidrLocations)A complex type that contains information about the list of CIDR locations.ListCidrLocationsResponse.BuildercidrLocations(LocationSummary... cidrLocations)A complex type that contains information about the list of CIDR locations.ListCidrLocationsResponse.BuildernextToken(String nextToken)An opaque pagination token to indicate where the service is to begin enumerating results.-
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
-
nextToken
ListCidrLocationsResponse.Builder nextToken(String nextToken)
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
- Parameters:
nextToken- An opaque pagination token to indicate where the service is to begin enumerating results.If no value is provided, the listing of results starts from the beginning.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrLocations
ListCidrLocationsResponse.Builder cidrLocations(Collection<LocationSummary> cidrLocations)
A complex type that contains information about the list of CIDR locations.
- Parameters:
cidrLocations- A complex type that contains information about the list of CIDR locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrLocations
ListCidrLocationsResponse.Builder cidrLocations(LocationSummary... cidrLocations)
A complex type that contains information about the list of CIDR locations.
- Parameters:
cidrLocations- A complex type that contains information about the list of CIDR locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrLocations
ListCidrLocationsResponse.Builder cidrLocations(Consumer<LocationSummary.Builder>... cidrLocations)
A complex type that contains information about the list of CIDR locations.
This is a convenience method that creates an instance of theLocationSummary.Builderavoiding the need to create one manually viaLocationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cidrLocations(List.) - Parameters:
cidrLocations- a consumer that will call methods onLocationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#cidrLocations(java.util.Collection)
-
-