Interface CreateSegmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSegmentRequest.Builder,
,CreateSegmentRequest> EvidentlyRequest.Builder
,SdkBuilder<CreateSegmentRequest.Builder,
,CreateSegmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSegmentRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) An optional description for this segment.A name for the segment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The pattern to use for the segment.Assigns one or more tags (key-value pairs) to the segment.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.services.evidently.model.EvidentlyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
An optional description for this segment.
- Parameters:
description
- An optional description for this segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the segment.
- Parameters:
name
- A name for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.
- Parameters:
pattern
- The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Assigns one or more tags (key-value pairs) to the segment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a segment.
For more information, see Tagging Amazon Web Services resources.
- Parameters:
tags
- Assigns one or more tags (key-value pairs) to the segment.Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a segment.
For more information, see Tagging Amazon Web Services resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSegmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSegmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-