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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 © 2023. All rights reserved.