Interface GetIpamAddressHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIpamAddressHistoryResponse.Builder,,GetIpamAddressHistoryResponse> Ec2Response.Builder,SdkBuilder<GetIpamAddressHistoryResponse.Builder,,GetIpamAddressHistoryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetIpamAddressHistoryResponse
-
Method Summary
Modifier and TypeMethodDescriptionhistoryRecords(Collection<IpamAddressHistoryRecord> historyRecords) A historical record for a CIDR within an IPAM scope.historyRecords(Consumer<IpamAddressHistoryRecord.Builder>... historyRecords) A historical record for a CIDR within an IPAM scope.historyRecords(IpamAddressHistoryRecord... historyRecords) A historical record for a CIDR within an IPAM scope.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
historyRecords
GetIpamAddressHistoryResponse.Builder historyRecords(Collection<IpamAddressHistoryRecord> historyRecords) A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.
- Parameters:
historyRecords- A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyRecords
A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.
- Parameters:
historyRecords- A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyRecords
GetIpamAddressHistoryResponse.Builder historyRecords(Consumer<IpamAddressHistoryRecord.Builder>... historyRecords) A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.
This is a convenience method that creates an instance of theIpamAddressHistoryRecord.Builderavoiding the need to create one manually viaIpamAddressHistoryRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohistoryRecords(List<IpamAddressHistoryRecord>).- Parameters:
historyRecords- a consumer that will call methods onIpamAddressHistoryRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-