Interface GetSegmentSubscriptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSegmentSubscriptionResponse.Builder,,GetSegmentSubscriptionResponse> CustomerProfilesResponse.Builder,SdkBuilder<GetSegmentSubscriptionResponse.Builder,,GetSegmentSubscriptionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSegmentSubscriptionResponse
-
Method Summary
Modifier and TypeMethodDescriptionlastUpdatedAt(Instant lastUpdatedAt) The timestamp of the most recent configuration change.A status message providing additional context, such as a failure reason.scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration for periodic membership event notifications.scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) The schedule configuration for periodic membership event notifications.scheduledExecutions(Consumer<ScheduledExecutions.Builder> scheduledExecutions) Information about scheduled execution timestamps.scheduledExecutions(ScheduledExecutions scheduledExecutions) Information about scheduled execution timestamps.The timestamp of when the subscription was first started.The current lifecycle status of the subscription.status(SegmentSubscriptionStatus status) The current lifecycle status of the subscription.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The current lifecycle status of the subscription. The following are valid values:
-
STARTING: Initial snapshot is in progress.
-
RUNNING: Notifications are active and running.
-
STOPPED: Notifications have been stopped.
-
FAILED: Notifications failed (for example, the Amazon Kinesis data stream became inaccessible).
- Parameters:
status- The current lifecycle status of the subscription. The following are valid values:-
STARTING: Initial snapshot is in progress.
-
RUNNING: Notifications are active and running.
-
STOPPED: Notifications have been stopped.
-
FAILED: Notifications failed (for example, the Amazon Kinesis data stream became inaccessible).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current lifecycle status of the subscription. The following are valid values:
-
STARTING: Initial snapshot is in progress.
-
RUNNING: Notifications are active and running.
-
STOPPED: Notifications have been stopped.
-
FAILED: Notifications failed (for example, the Amazon Kinesis data stream became inaccessible).
- Parameters:
status- The current lifecycle status of the subscription. The following are valid values:-
STARTING: Initial snapshot is in progress.
-
RUNNING: Notifications are active and running.
-
STOPPED: Notifications have been stopped.
-
FAILED: Notifications failed (for example, the Amazon Kinesis data stream became inaccessible).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
message
A status message providing additional context, such as a failure reason.
- Parameters:
message- A status message providing additional context, such as a failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
GetSegmentSubscriptionResponse.Builder scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) The schedule configuration for periodic membership event notifications.
- Parameters:
scheduleConfiguration- The schedule configuration for periodic membership event notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default GetSegmentSubscriptionResponse.Builder scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration for periodic membership event notifications.
This is a convenience method that creates an instance of theScheduleConfiguration.Builderavoiding the need to create one manually viaScheduleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfiguration(ScheduleConfiguration).- Parameters:
scheduleConfiguration- a consumer that will call methods onScheduleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduledExecutions
Information about scheduled execution timestamps.
- Parameters:
scheduledExecutions- Information about scheduled execution timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledExecutions
default GetSegmentSubscriptionResponse.Builder scheduledExecutions(Consumer<ScheduledExecutions.Builder> scheduledExecutions) Information about scheduled execution timestamps.
This is a convenience method that creates an instance of theScheduledExecutions.Builderavoiding the need to create one manually viaScheduledExecutions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledExecutions(ScheduledExecutions).- Parameters:
scheduledExecutions- a consumer that will call methods onScheduledExecutions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The timestamp of when the subscription was first started.
- Parameters:
startedAt- The timestamp of when the subscription was first started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp of the most recent configuration change.
- Parameters:
lastUpdatedAt- The timestamp of the most recent configuration change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-