public static interface GetInstanceProfileResponse.Builder extends IAMResponse.Builder, CopyableBuilder<GetInstanceProfileResponse.Builder,GetInstanceProfileResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetInstanceProfileResponse.Builder |
instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A structure containing details about the instance profile.
|
GetInstanceProfileResponse.Builder |
instanceProfile(InstanceProfile instanceProfile)
A structure containing details about the instance profile.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetInstanceProfileResponse.Builder instanceProfile(InstanceProfile instanceProfile)
A structure containing details about the instance profile.
instanceProfile - A structure containing details about the instance profile.default GetInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A structure containing details about the 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.BuilderinstanceProfile(InstanceProfile)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.