Interface UpdateInstanceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateInstanceProfileResponse.Builder,
,UpdateInstanceProfileResponse> DeviceFarmResponse.Builder
,SdkBuilder<UpdateInstanceProfileResponse.Builder,
,UpdateInstanceProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateInstanceProfileResponse
public static interface UpdateInstanceProfileResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<UpdateInstanceProfileResponse.Builder,UpdateInstanceProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceProfile
(Consumer<InstanceProfile.Builder> instanceProfile) An object that contains information about your instance profile.instanceProfile
(InstanceProfile instanceProfile) An object that contains information about your instance profile.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 Details
-
instanceProfile
An object that contains information about your instance profile.
- Parameters:
instanceProfile
- An object that contains information about your instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfile
default UpdateInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile) An object that contains information about your instance profile.
This is a convenience method that creates an instance of theInstanceProfile.Builder
avoiding the need to create one manually viaInstanceProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceProfile(InstanceProfile)
.- Parameters:
instanceProfile
- a consumer that will call methods onInstanceProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-