public static interface CreateInstanceProfileResponse.Builder extends IAMResponse.Builder, CopyableBuilder<CreateInstanceProfileResponse.Builder,CreateInstanceProfileResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateInstanceProfileResponse.Builder |
instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A structure containing details about the new instance profile.
|
CreateInstanceProfileResponse.Builder |
instanceProfile(InstanceProfile instanceProfile)
A structure containing details about the new instance profile.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateInstanceProfileResponse.Builder instanceProfile(InstanceProfile instanceProfile)
A structure containing details about the new instance profile.
instanceProfile - A structure containing details about the new instance profile.default CreateInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
A structure containing details about the new 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.