Interface AssociatedSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssociatedSegment.Builder,,AssociatedSegment> SdkBuilder<AssociatedSegment.Builder,,AssociatedSegment> SdkPojo
- Enclosing class:
AssociatedSegment
-
Method Summary
Modifier and TypeMethodDescriptionAn optional message providing context, such as a failure reason.segmentName(String segmentName) The unique name of the segment definition.The subscription status of the segment.status(EventSubscriptionSegmentStatus status) The subscription status of the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
segmentName
The unique name of the segment definition.
- Parameters:
segmentName- The unique name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The subscription status of the segment. The following are valid values:
-
STARTING: The segment is being prepared to publish membership events.
-
RUNNING: The segment is actively publishing membership events to the stream.
-
STOPPED: The segment has stopped publishing membership events.
-
FAILED: The segment failed to publish membership events.
- Parameters:
status- The subscription status of the segment. The following are valid values:-
STARTING: The segment is being prepared to publish membership events.
-
RUNNING: The segment is actively publishing membership events to the stream.
-
STOPPED: The segment has stopped publishing membership events.
-
FAILED: The segment failed to publish membership events.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The subscription status of the segment. The following are valid values:
-
STARTING: The segment is being prepared to publish membership events.
-
RUNNING: The segment is actively publishing membership events to the stream.
-
STOPPED: The segment has stopped publishing membership events.
-
FAILED: The segment failed to publish membership events.
- Parameters:
status- The subscription status of the segment. The following are valid values:-
STARTING: The segment is being prepared to publish membership events.
-
RUNNING: The segment is actively publishing membership events to the stream.
-
STOPPED: The segment has stopped publishing membership events.
-
FAILED: The segment failed to publish membership events.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
message
An optional message providing context, such as a failure reason.
- Parameters:
message- An optional message providing context, such as a failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-