Interface GetSegmentDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSegmentDefinitionResponse.Builder,
,GetSegmentDefinitionResponse> CustomerProfilesResponse.Builder
,SdkBuilder<GetSegmentDefinitionResponse.Builder,
,GetSegmentDefinitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSegmentDefinitionResponse
@Mutable
@NotThreadSafe
public static interface GetSegmentDefinitionResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetSegmentDefinitionResponse.Builder,GetSegmentDefinitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the segment definition was created.description
(String description) The description of the segment definition.displayName
(String displayName) The display name of the segment definition.segmentDefinitionArn
(String segmentDefinitionArn) The arn of the segment definition.segmentDefinitionName
(String segmentDefinitionName) The name of the segment definition.segmentGroups
(Consumer<SegmentGroup.Builder> segmentGroups) The segment criteria associated with this definition.segmentGroups
(SegmentGroup segmentGroups) The segment criteria associated with this definition.The tags used to organize, track, or control access for this resource.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
-
segmentDefinitionName
The name of the segment definition.
- Parameters:
segmentDefinitionName
- The name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the segment definition.
- Parameters:
displayName
- The display name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the segment definition.
- Parameters:
description
- The description of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentGroups
The segment criteria associated with this definition.
- Parameters:
segmentGroups
- The segment criteria associated with this definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentGroups
default GetSegmentDefinitionResponse.Builder segmentGroups(Consumer<SegmentGroup.Builder> segmentGroups) The segment criteria associated with this definition.
This is a convenience method that creates an instance of theSegmentGroup.Builder
avoiding the need to create one manually viaSegmentGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosegmentGroups(SegmentGroup)
.- Parameters:
segmentGroups
- a consumer that will call methods onSegmentGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentDefinitionArn
The arn of the segment definition.
- Parameters:
segmentDefinitionArn
- The arn of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp of when the segment definition was created.
- Parameters:
createdAt
- The timestamp of when the segment definition was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-