Interface UpdateSegmentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSegmentRequest.Builder,UpdateSegmentRequest>,PinpointRequest.Builder,SdkBuilder<UpdateSegmentRequest.Builder,UpdateSegmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSegmentRequest
public static interface UpdateSegmentRequest.Builder extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<UpdateSegmentRequest.Builder,UpdateSegmentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSegmentRequest.BuilderapplicationId(String applicationId)The unique identifier for the application.UpdateSegmentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSegmentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSegmentRequest.BuildersegmentId(String segmentId)The unique identifier for the segment.default UpdateSegmentRequest.BuilderwriteSegmentRequest(Consumer<WriteSegmentRequest.Builder> writeSegmentRequest)Sets the value of the WriteSegmentRequest property for this object.UpdateSegmentRequest.BuilderwriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)Sets the value of the WriteSegmentRequest property for this object.-
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.pinpoint.model.PinpointRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
UpdateSegmentRequest.Builder applicationId(String applicationId)
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Parameters:
applicationId- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentId
UpdateSegmentRequest.Builder segmentId(String segmentId)
The unique identifier for the segment.
- Parameters:
segmentId- The unique identifier for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeSegmentRequest
UpdateSegmentRequest.Builder writeSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Sets the value of the WriteSegmentRequest property for this object.- Parameters:
writeSegmentRequest- The new value for the WriteSegmentRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeSegmentRequest
default UpdateSegmentRequest.Builder writeSegmentRequest(Consumer<WriteSegmentRequest.Builder> writeSegmentRequest)
Sets the value of the WriteSegmentRequest property for this object. This is a convenience method that creates an instance of theWriteSegmentRequest.Builderavoiding the need to create one manually viaWriteSegmentRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towriteSegmentRequest(WriteSegmentRequest).- Parameters:
writeSegmentRequest- a consumer that will call methods onWriteSegmentRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
writeSegmentRequest(WriteSegmentRequest)
-
overrideConfiguration
UpdateSegmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSegmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-