Interface ListNetworkProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworkProfilesResponse.Builder,,ListNetworkProfilesResponse> DeviceFarmResponse.Builder,SdkBuilder<ListNetworkProfilesResponse.Builder,,ListNetworkProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNetworkProfilesResponse
public static interface ListNetworkProfilesResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListNetworkProfilesResponse.Builder,ListNetworkProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkProfiles(Collection<NetworkProfile> networkProfiles) A list of the available network profiles.networkProfiles(Consumer<NetworkProfile.Builder>... networkProfiles) A list of the available network profiles.networkProfiles(NetworkProfile... networkProfiles) A list of the available network profiles.An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
networkProfiles
A list of the available network profiles.
- Parameters:
networkProfiles- A list of the available network profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkProfiles
A list of the available network profiles.
- Parameters:
networkProfiles- A list of the available network profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkProfiles
ListNetworkProfilesResponse.Builder networkProfiles(Consumer<NetworkProfile.Builder>... networkProfiles) A list of the available network profiles.
This is a convenience method that creates an instance of theNetworkProfile.Builderavoiding the need to create one manually viaNetworkProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkProfiles(List<NetworkProfile>).- Parameters:
networkProfiles- a consumer that will call methods onNetworkProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-