Interface CrossReference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CrossReference.Builder,,CrossReference> SdkBuilder<CrossReference.Builder,,CrossReference> SdkPojo
- Enclosing class:
CrossReference
@Mutable
@NotThreadSafe
public static interface CrossReference.Builder
extends SdkPojo, CopyableBuilder<CrossReference.Builder,CrossReference>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the third-party data supplier (for example,YelporTripAdvisor).sourceCategories(Collection<Category> sourceCategories) The list of place category identifiers this supplier reference relates to.sourceCategories(Consumer<Category.Builder>... sourceCategories) The list of place category identifiers this supplier reference relates to.sourceCategories(Category... sourceCategories) The list of place category identifiers this supplier reference relates to.sourcePlaceId(String sourcePlaceId) The place identifier assigned by the third-party supplier.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
-
source
The name of the third-party data supplier (for example,
YelporTripAdvisor).- Parameters:
source- The name of the third-party data supplier (for example,YelporTripAdvisor).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePlaceId
The place identifier assigned by the third-party supplier.
- Parameters:
sourcePlaceId- The place identifier assigned by the third-party supplier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCategories
The list of place category identifiers this supplier reference relates to.
- Parameters:
sourceCategories- The list of place category identifiers this supplier reference relates to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCategories
The list of place category identifiers this supplier reference relates to.
- Parameters:
sourceCategories- The list of place category identifiers this supplier reference relates to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCategories
The list of place category identifiers this supplier reference relates to.
This is a convenience method that creates an instance of theCategory.Builderavoiding the need to create one manually viaCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCategories(List<Category>).- Parameters:
sourceCategories- a consumer that will call methods onCategory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-