Interface DeleteInstanceProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteInstanceProfileResponse.Builder,,DeleteInstanceProfileResponse> DatabaseMigrationResponse.Builder,SdkBuilder<DeleteInstanceProfileResponse.Builder,,DeleteInstanceProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteInstanceProfileResponse
public static interface DeleteInstanceProfileResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<DeleteInstanceProfileResponse.Builder,DeleteInstanceProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceProfile(Consumer<InstanceProfile.Builder> instanceProfile) The instance profile that was deleted.instanceProfile(InstanceProfile instanceProfile) The instance profile that was deleted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceProfile
The instance profile that was deleted.
- Parameters:
instanceProfile- The instance profile that was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfile
default DeleteInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile) The instance profile that was deleted.
This is a convenience method that creates an instance of theInstanceProfile.Builderavoiding the need to create one manually viaInstanceProfile.builder().When the
Consumercompletes,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:
-