Interface UpdateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProfileRequest.Builder,,UpdateProfileRequest> SdkBuilder<UpdateProfileRequest.Builder,,UpdateProfileRequest> SdkPojo,SdkRequest.Builder,WellArchitectedRequest.Builder
- Enclosing class:
UpdateProfileRequest
public static interface UpdateProfileRequest.Builder
extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<UpdateProfileRequest.Builder,UpdateProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.profileArn(String profileArn) The profile ARN.profileDescription(String profileDescription) The profile description.profileQuestions(Collection<ProfileQuestionUpdate> profileQuestions) Profile questions.profileQuestions(Consumer<ProfileQuestionUpdate.Builder>... profileQuestions) Profile questions.profileQuestions(ProfileQuestionUpdate... profileQuestions) Profile questions.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
profileArn
The profile ARN.
- Parameters:
profileArn- The profile ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileDescription
The profile description.
- Parameters:
profileDescription- The profile description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile questions.
- Parameters:
profileQuestions- Profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
Profile questions.
- Parameters:
profileQuestions- Profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
UpdateProfileRequest.Builder profileQuestions(Consumer<ProfileQuestionUpdate.Builder>... profileQuestions) Profile questions.
This is a convenience method that creates an instance of theProfileQuestionUpdate.Builderavoiding the need to create one manually viaProfileQuestionUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofileQuestions(List<ProfileQuestionUpdate>).- Parameters:
profileQuestions- a consumer that will call methods onProfileQuestionUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-