Interface GetSegmentDefinitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSegmentDefinitionResponse.Builder,GetSegmentDefinitionResponse>,CustomerProfilesResponse.Builder,SdkBuilder<GetSegmentDefinitionResponse.Builder,GetSegmentDefinitionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSegmentDefinitionResponse
public static interface GetSegmentDefinitionResponse.Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetSegmentDefinitionResponse.Builder,GetSegmentDefinitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSegmentDefinitionResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the segment definition was created.GetSegmentDefinitionResponse.Builderdescription(String description)The description of the segment definition.GetSegmentDefinitionResponse.BuilderdisplayName(String displayName)The display name of the segment definition.GetSegmentDefinitionResponse.BuildersegmentDefinitionArn(String segmentDefinitionArn)The arn of the segment definition.GetSegmentDefinitionResponse.BuildersegmentDefinitionName(String segmentDefinitionName)The name of the segment definition.default GetSegmentDefinitionResponse.BuildersegmentGroups(Consumer<SegmentGroup.Builder> segmentGroups)The segment criteria associated with this definition.GetSegmentDefinitionResponse.BuildersegmentGroups(SegmentGroup segmentGroups)The segment criteria associated with this definition.GetSegmentDefinitionResponse.Buildertags(Map<String,String> tags)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 Detail
-
segmentDefinitionName
GetSegmentDefinitionResponse.Builder segmentDefinitionName(String 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
GetSegmentDefinitionResponse.Builder displayName(String 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
GetSegmentDefinitionResponse.Builder description(String 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
GetSegmentDefinitionResponse.Builder segmentGroups(SegmentGroup 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.Builderavoiding the need to create one manually viaSegmentGroup.builder().When the
Consumercompletes,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:
segmentGroups(SegmentGroup)
-
segmentDefinitionArn
GetSegmentDefinitionResponse.Builder segmentDefinitionArn(String 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
GetSegmentDefinitionResponse.Builder createdAt(Instant 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
GetSegmentDefinitionResponse.Builder tags(Map<String,String> 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.
-
-