Interface PutSegmentSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutSegmentSubscriptionRequest.Builder,,PutSegmentSubscriptionRequest> CustomerProfilesRequest.Builder,SdkBuilder<PutSegmentSubscriptionRequest.Builder,,PutSegmentSubscriptionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutSegmentSubscriptionRequest
@Mutable
@NotThreadSafe
public static interface PutSegmentSubscriptionRequest.Builder
extends CustomerProfilesRequest.Builder, SdkPojo, CopyableBuilder<PutSegmentSubscriptionRequest.Builder,PutSegmentSubscriptionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName(String domainName) The unique name of the domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The optional schedule configuration that controls how often membership snapshots are run.scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) The optional schedule configuration that controls how often membership snapshots are run.segmentDefinitionName(String segmentDefinitionName) The unique name of the segment definition.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The unique name of the domain.
- Parameters:
domainName- The unique name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDefinitionName
The unique name of the segment definition.
- Parameters:
segmentDefinitionName- The unique name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
PutSegmentSubscriptionRequest.Builder scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) The optional schedule configuration that controls how often membership snapshots are run. If not provided, the subscription defaults to a 24-hour interval.
- Parameters:
scheduleConfiguration- The optional schedule configuration that controls how often membership snapshots are run. If not provided, the subscription defaults to a 24-hour interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default PutSegmentSubscriptionRequest.Builder scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The optional schedule configuration that controls how often membership snapshots are run. If not provided, the subscription defaults to a 24-hour interval.
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:
-
overrideConfiguration
PutSegmentSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutSegmentSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-