Interface ListProfileAttributeValuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProfileAttributeValuesResponse.Builder,
,ListProfileAttributeValuesResponse> CustomerProfilesResponse.Builder
,SdkBuilder<ListProfileAttributeValuesResponse.Builder,
,ListProfileAttributeValuesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProfileAttributeValuesResponse
@Mutable
@NotThreadSafe
public static interface ListProfileAttributeValuesResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListProfileAttributeValuesResponse.Builder,ListProfileAttributeValuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The attribute name.domainName
(String domainName) The name of the domain.items
(Collection<AttributeValueItem> items) The items returned as part of the response.items
(Consumer<AttributeValueItem.Builder>... items) The items returned as part of the response.items
(AttributeValueItem... items) The items returned as part of the response.statusCode
(Integer statusCode) The status code for the response.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 Details
-
domainName
The name of the domain.
- Parameters:
domainName
- The name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
The attribute name.
- Parameters:
attributeName
- The attribute name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items returned as part of the response.
- Parameters:
items
- The items returned as part of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items returned as part of the response.
- Parameters:
items
- The items returned as part of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items returned as part of the response.
This is a convenience method that creates an instance of theAttributeValueItem.Builder
avoiding the need to create one manually viaAttributeValueItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<AttributeValueItem>)
.- Parameters:
items
- a consumer that will call methods onAttributeValueItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
The status code for the response.
- Parameters:
statusCode
- The status code for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-