Interface DescribeSecondaryInterfacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSecondaryInterfacesResponse.Builder,DescribeSecondaryInterfacesResponse>,Ec2Response.Builder,SdkBuilder<DescribeSecondaryInterfacesResponse.Builder,DescribeSecondaryInterfacesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSecondaryInterfacesResponse
@Mutable @NotThreadSafe public static interface DescribeSecondaryInterfacesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeSecondaryInterfacesResponse.Builder,DescribeSecondaryInterfacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSecondaryInterfacesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.DescribeSecondaryInterfacesResponse.BuildersecondaryInterfaces(Collection<SecondaryInterface> secondaryInterfaces)Information about the secondary interfaces.DescribeSecondaryInterfacesResponse.BuildersecondaryInterfaces(Consumer<SecondaryInterface.Builder>... secondaryInterfaces)Information about the secondary interfaces.DescribeSecondaryInterfacesResponse.BuildersecondaryInterfaces(SecondaryInterface... secondaryInterfaces)Information about the secondary interfaces.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
secondaryInterfaces
DescribeSecondaryInterfacesResponse.Builder secondaryInterfaces(Collection<SecondaryInterface> secondaryInterfaces)
Information about the secondary interfaces.
- Parameters:
secondaryInterfaces- Information about the secondary interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryInterfaces
DescribeSecondaryInterfacesResponse.Builder secondaryInterfaces(SecondaryInterface... secondaryInterfaces)
Information about the secondary interfaces.
- Parameters:
secondaryInterfaces- Information about the secondary interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryInterfaces
DescribeSecondaryInterfacesResponse.Builder secondaryInterfaces(Consumer<SecondaryInterface.Builder>... secondaryInterfaces)
Information about the secondary interfaces.
This is a convenience method that creates an instance of theSecondaryInterface.Builderavoiding the need to create one manually viaSecondaryInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#secondaryInterfaces(List.) - Parameters:
secondaryInterfaces- a consumer that will call methods onSecondaryInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#secondaryInterfaces(java.util.Collection)
-
nextToken
DescribeSecondaryInterfacesResponse.Builder nextToken(String 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.
-
-