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
-
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 Detail
-
profileName
CreateProfileRequest.Builder profileName(String 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
CreateProfileRequest.Builder profileDescription(String 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
CreateProfileRequest.Builder profileQuestions(Collection<ProfileQuestionUpdate> 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(ProfileQuestionUpdate... 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.Builderavoiding the need to create one manually viaProfileQuestionUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#profileQuestions(List.) - 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:
#profileQuestions(java.util.Collection)
-
clientRequestToken
CreateProfileRequest.Builder clientRequestToken(String 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
CreateProfileRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-