public static interface CreateNetworkProfileResponse.Builder extends DeviceFarmResponse.Builder, CopyableBuilder<CreateNetworkProfileResponse.Builder,CreateNetworkProfileResponse>
Modifier and Type | Method and Description |
---|---|
default CreateNetworkProfileResponse.Builder |
networkProfile(Consumer<NetworkProfile.Builder> networkProfile)
The network profile that is returned by the create network profile request.
|
CreateNetworkProfileResponse.Builder |
networkProfile(NetworkProfile networkProfile)
The network profile that is returned by the create network profile request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateNetworkProfileResponse.Builder networkProfile(NetworkProfile networkProfile)
The network profile that is returned by the create network profile request.
networkProfile
- The network profile that is returned by the create network profile request.default CreateNetworkProfileResponse.Builder networkProfile(Consumer<NetworkProfile.Builder> networkProfile)
The network profile that is returned by the create network profile request.
This is a convenience that creates an instance of theNetworkProfile.Builder
avoiding the need to
create one manually via NetworkProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to networkProfile(NetworkProfile)
.networkProfile
- a consumer that will call methods on NetworkProfile.Builder
networkProfile(NetworkProfile)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.