Interface UserJourneyChanges.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserJourneyChanges.Builder,,UserJourneyChanges> SdkBuilder<UserJourneyChanges.Builder,,UserJourneyChanges> SdkPojo
- Enclosing class:
UserJourneyChanges
@Mutable
@NotThreadSafe
public static interface UserJourneyChanges.Builder
extends SdkPojo, CopyableBuilder<UserJourneyChanges.Builder,UserJourneyChanges>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserJourneyChanges.BuilderassociatedServices(Consumer<ServiceReferenceChanges.Builder> associatedServices) Changes to the services associated with the user journey.associatedServices(ServiceReferenceChanges associatedServices) Changes to the services associated with the user journey.default UserJourneyChanges.BuilderjourneyDescription(Consumer<StringChange.Builder> journeyDescription) Changes to the user journey description.journeyDescription(StringChange journeyDescription) Changes to the user journey description.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
-
journeyDescription
Changes to the user journey description.
- Parameters:
journeyDescription- Changes to the user journey description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
journeyDescription
default UserJourneyChanges.Builder journeyDescription(Consumer<StringChange.Builder> journeyDescription) Changes to the user journey description.
This is a convenience method that creates an instance of theStringChange.Builderavoiding the need to create one manually viaStringChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojourneyDescription(StringChange).- Parameters:
journeyDescription- a consumer that will call methods onStringChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedServices
Changes to the services associated with the user journey.
- Parameters:
associatedServices- Changes to the services associated with the user journey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedServices
default UserJourneyChanges.Builder associatedServices(Consumer<ServiceReferenceChanges.Builder> associatedServices) Changes to the services associated with the user journey.
This is a convenience method that creates an instance of theServiceReferenceChanges.Builderavoiding the need to create one manually viaServiceReferenceChanges.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedServices(ServiceReferenceChanges).- Parameters:
associatedServices- a consumer that will call methods onServiceReferenceChanges.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-