Interface SystemUserJourneyCreatedMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SystemUserJourneyCreatedMetadata.Builder,,SystemUserJourneyCreatedMetadata> SdkBuilder<SystemUserJourneyCreatedMetadata.Builder,,SystemUserJourneyCreatedMetadata> SdkPojo
- Enclosing class:
SystemUserJourneyCreatedMetadata
@Mutable
@NotThreadSafe
public static interface SystemUserJourneyCreatedMetadata.Builder
extends SdkPojo, CopyableBuilder<SystemUserJourneyCreatedMetadata.Builder,SystemUserJourneyCreatedMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedServices(Collection<ServiceReference> associatedServices) The services associated with the created user journey.associatedServices(Consumer<ServiceReference.Builder>... associatedServices) The services associated with the created user journey.associatedServices(ServiceReference... associatedServices) The services associated with the created user journey.userJourneyName(String userJourneyName) The name of the created user journey.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
-
userJourneyName
The name of the created user journey.
- Parameters:
userJourneyName- The name of the created user journey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedServices
SystemUserJourneyCreatedMetadata.Builder associatedServices(Collection<ServiceReference> associatedServices) The services associated with the created user journey.
- Parameters:
associatedServices- The services associated with the created user journey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedServices
The services associated with the created user journey.
- Parameters:
associatedServices- The services associated with the created user journey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedServices
SystemUserJourneyCreatedMetadata.Builder associatedServices(Consumer<ServiceReference.Builder>... associatedServices) The services associated with the created user journey.
This is a convenience method that creates an instance of theServiceReference.Builderavoiding the need to create one manually viaServiceReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedServices(List<ServiceReference>).- Parameters:
associatedServices- a consumer that will call methods onServiceReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-