Interface BatchGetProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetProfileResponse.Builder,BatchGetProfileResponse>,CustomerProfilesResponse.Builder,SdkBuilder<BatchGetProfileResponse.Builder,BatchGetProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetProfileResponse
public static interface BatchGetProfileResponse.Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<BatchGetProfileResponse.Builder,BatchGetProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetProfileResponse.Buildererrors(Collection<BatchGetProfileError> errors)For information about the errors that are common to all actions, see Common Errors.BatchGetProfileResponse.Buildererrors(Consumer<BatchGetProfileError.Builder>... errors)For information about the errors that are common to all actions, see Common Errors.BatchGetProfileResponse.Buildererrors(BatchGetProfileError... errors)For information about the errors that are common to all actions, see Common Errors.BatchGetProfileResponse.Builderprofiles(Collection<Profile> profiles)Array of Profile Objects.BatchGetProfileResponse.Builderprofiles(Consumer<Profile.Builder>... profiles)Array of Profile Objects.BatchGetProfileResponse.Builderprofiles(Profile... profiles)Array of Profile Objects.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
errors
BatchGetProfileResponse.Builder errors(Collection<BatchGetProfileError> errors)
For information about the errors that are common to all actions, see Common Errors.
- Parameters:
errors- For information about the errors that are common to all actions, see Common Errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetProfileResponse.Builder errors(BatchGetProfileError... errors)
For information about the errors that are common to all actions, see Common Errors.
- Parameters:
errors- For information about the errors that are common to all actions, see Common Errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetProfileResponse.Builder errors(Consumer<BatchGetProfileError.Builder>... errors)
For information about the errors that are common to all actions, see Common Errors.
This is a convenience method that creates an instance of theBatchGetProfileError.Builderavoiding the need to create one manually viaBatchGetProfileError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onBatchGetProfileError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
profiles
BatchGetProfileResponse.Builder profiles(Collection<Profile> profiles)
Array of Profile Objects.
- Parameters:
profiles- Array of Profile Objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
BatchGetProfileResponse.Builder profiles(Profile... profiles)
Array of Profile Objects.
- Parameters:
profiles- Array of Profile Objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
BatchGetProfileResponse.Builder profiles(Consumer<Profile.Builder>... profiles)
Array of Profile Objects.
This is a convenience method that creates an instance of theProfile.Builderavoiding the need to create one manually viaProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#profiles(List.) - Parameters:
profiles- a consumer that will call methods onProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#profiles(java.util.Collection)
-
-