Interface CreateNetworkProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateNetworkProfileResponse.Builder,CreateNetworkProfileResponse>,DeviceFarmResponse.Builder,SdkBuilder<CreateNetworkProfileResponse.Builder,CreateNetworkProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateNetworkProfileResponse
public static interface CreateNetworkProfileResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<CreateNetworkProfileResponse.Builder,CreateNetworkProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateNetworkProfileResponse.BuildernetworkProfile(Consumer<NetworkProfile.Builder> networkProfile)The network profile that is returned by the create network profile request.CreateNetworkProfileResponse.BuildernetworkProfile(NetworkProfile networkProfile)The network profile that is returned by the create network profile request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
networkProfile
CreateNetworkProfileResponse.Builder networkProfile(NetworkProfile networkProfile)
The network profile that is returned by the create network profile request.
- Parameters:
networkProfile- The network profile that is returned by the create network profile request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkProfile
default CreateNetworkProfileResponse.Builder networkProfile(Consumer<NetworkProfile.Builder> networkProfile)
The network profile that is returned by the create network profile request.
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 tonetworkProfile(NetworkProfile).- Parameters:
networkProfile- 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:
networkProfile(NetworkProfile)
-
-