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) AResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks.resources
(Consumer<RecommendationRelatedEventResource.Builder>... resources) AResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks.resources
(RecommendationRelatedEventResource... resources) AResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the event. This corresponds to the
Name
field in anEvent
object.- Parameters:
name
- The name of the event. This corresponds to theName
field in anEvent
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
RecommendationRelatedEvent.Builder resources(Collection<RecommendationRelatedEventResource> resources) A
ResourceCollection
object 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
- AResourceCollection
object 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
ResourceCollection
object 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
- AResourceCollection
object 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 theResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.RecommendationRelatedEventResource.Builder
avoiding the need to create one manually viaRecommendationRelatedEventResource.builder()
.When the
Consumer
completes,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:
-