Interface GetIpamAddressHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetIpamAddressHistoryResponse.Builder,GetIpamAddressHistoryResponse>
,Ec2Response.Builder
,SdkBuilder<GetIpamAddressHistoryResponse.Builder,GetIpamAddressHistoryResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetIpamAddressHistoryResponse
public static interface GetIpamAddressHistoryResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetIpamAddressHistoryResponse.Builder,GetIpamAddressHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetIpamAddressHistoryResponse.Builder
historyRecords(Collection<IpamAddressHistoryRecord> historyRecords)
A historical record for a CIDR within an IPAM scope.GetIpamAddressHistoryResponse.Builder
historyRecords(Consumer<IpamAddressHistoryRecord.Builder>... historyRecords)
A historical record for a CIDR within an IPAM scope.GetIpamAddressHistoryResponse.Builder
historyRecords(IpamAddressHistoryRecord... historyRecords)
A historical record for a CIDR within an IPAM scope.GetIpamAddressHistoryResponse.Builder
nextToken(String nextToken)
The token to use to retrieve the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
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
GetIpamAddressHistoryResponse.Builder historyRecords(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
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.Builder
avoiding the need to create one manually viaIpamAddressHistoryRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#historyRecords(List
.) - 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:
#historyRecords(java.util.Collection
)
-
nextToken
GetIpamAddressHistoryResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-