Interface CreateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateProfileRequest.Builder,
,CreateProfileRequest> SdkBuilder<CreateProfileRequest.Builder,
,CreateProfileRequest> SdkPojo
,SdkRequest.Builder
,WellArchitectedRequest.Builder
- Enclosing class:
CreateProfileRequest
public static interface CreateProfileRequest.Builder
extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.profileDescription
(String profileDescription) The profile description.profileName
(String profileName) Name of the profile.profileQuestions
(Collection<ProfileQuestionUpdate> profileQuestions) The profile questions.profileQuestions
(Consumer<ProfileQuestionUpdate.Builder>... profileQuestions) The profile questions.profileQuestions
(ProfileQuestionUpdate... profileQuestions) The profile questions.The tags assigned to the profile.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
profileName
Name of the profile.
- Parameters:
profileName
- Name of the profile.- 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
The profile questions.
- Parameters:
profileQuestions
- The profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
The profile questions.
- Parameters:
profileQuestions
- The profile questions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileQuestions
CreateProfileRequest.Builder profileQuestions(Consumer<ProfileQuestionUpdate.Builder>... profileQuestions) The profile questions.
This is a convenience method that creates an instance of theProfileQuestionUpdate.Builder
avoiding the need to create one manually viaProfileQuestionUpdate.builder()
.When the
Consumer
completes,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:
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken
- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the profile.
- Parameters:
tags
- The tags assigned to the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-