Interface RecommendationRelatedEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationRelatedEvent.Builder,,RecommendationRelatedEvent> SdkBuilder<RecommendationRelatedEvent.Builder,,RecommendationRelatedEvent> SdkPojo
- Enclosing class:
RecommendationRelatedEvent
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the event.resources(Collection<RecommendationRelatedEventResource> resources) AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks.resources(Consumer<RecommendationRelatedEventResource.Builder>... resources) AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks.resources(RecommendationRelatedEventResource... resources) AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks.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
-
name
The name of the event. This corresponds to the
Namefield in anEventobject.- Parameters:
name- The name of the event. This corresponds to theNamefield in anEventobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
RecommendationRelatedEvent.Builder resources(Collection<RecommendationRelatedEventResource> resources) A
ResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.- Parameters:
resources- AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A
ResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.- Parameters:
resources- AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
RecommendationRelatedEvent.Builder resources(Consumer<RecommendationRelatedEventResource.Builder>... resources) A
This is a convenience method that creates an instance of theResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.RecommendationRelatedEventResource.Builderavoiding the need to create one manually viaRecommendationRelatedEventResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<RecommendationRelatedEventResource>).- Parameters:
resources- a consumer that will call methods onRecommendationRelatedEventResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-