Interface ModifyInstanceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyInstanceProfileResponse.Builder,
,ModifyInstanceProfileResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<ModifyInstanceProfileResponse.Builder,
,ModifyInstanceProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyInstanceProfileResponse
public static interface ModifyInstanceProfileResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<ModifyInstanceProfileResponse.Builder,ModifyInstanceProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceProfile
(Consumer<InstanceProfile.Builder> instanceProfile) The instance profile that was modified.instanceProfile
(InstanceProfile instanceProfile) The instance profile that was modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceProfile
The instance profile that was modified.
- Parameters:
instanceProfile
- The instance profile that was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfile
default ModifyInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile) The instance profile that was modified.
This is a convenience method that creates an instance of theInstanceProfile.Builder
avoiding the need to create one manually viaInstanceProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceProfile(InstanceProfile)
.- Parameters:
instanceProfile
- a consumer that will call methods onInstanceProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-