public static interface GetInstanceProfileResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetInstanceProfileResponse.Builder,GetInstanceProfileResponse>
Modifier and Type | Method and Description |
---|---|
default GetInstanceProfileResponse.Builder |
instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
An object containing information about your instance profile.
|
GetInstanceProfileResponse.Builder |
instanceProfile(InstanceProfile instanceProfile)
An object containing information about your instance profile.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetInstanceProfileResponse.Builder instanceProfile(InstanceProfile instanceProfile)
An object containing information about your instance profile.
instanceProfile
- An object containing information about your instance profile.default GetInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
An object containing information about your instance profile.
This is a convenience that creates an instance of theInstanceProfile.Builder
avoiding the need to
create one manually via InstanceProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to instanceProfile(InstanceProfile)
.instanceProfile
- a consumer that will call methods on InstanceProfile.Builder
instanceProfile(InstanceProfile)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.