Interface CreateInstanceProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateInstanceProfileResponse.Builder,CreateInstanceProfileResponse>,DatabaseMigrationResponse.Builder,SdkBuilder<CreateInstanceProfileResponse.Builder,CreateInstanceProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateInstanceProfileResponse
public static interface CreateInstanceProfileResponse.Builder extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<CreateInstanceProfileResponse.Builder,CreateInstanceProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateInstanceProfileResponse.BuilderinstanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)The instance profile that was created.CreateInstanceProfileResponse.BuilderinstanceProfile(InstanceProfile instanceProfile)The instance profile that was created.-
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 Detail
-
instanceProfile
CreateInstanceProfileResponse.Builder instanceProfile(InstanceProfile instanceProfile)
The instance profile that was created.
- Parameters:
instanceProfile- The instance profile that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfile
default CreateInstanceProfileResponse.Builder instanceProfile(Consumer<InstanceProfile.Builder> instanceProfile)
The instance profile that was created.
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:
instanceProfile(InstanceProfile)
-
-