public static interface CreateInstanceProfileResponse.Builder extends IamResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateInstanceProfileResponse.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.Builder
instanceProfile(InstanceProfile)
Copyright © 2019. All rights reserved.