Interface RecommendationRelatedEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationRelatedEvent.Builder,RecommendationRelatedEvent>,SdkBuilder<RecommendationRelatedEvent.Builder,RecommendationRelatedEvent>,SdkPojo
- Enclosing class:
- RecommendationRelatedEvent
public static interface RecommendationRelatedEvent.Builder extends SdkPojo, CopyableBuilder<RecommendationRelatedEvent.Builder,RecommendationRelatedEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecommendationRelatedEvent.Buildername(String name)The name of the event.RecommendationRelatedEvent.Builderresources(Collection<RecommendationRelatedEventResource> resources)AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks.RecommendationRelatedEvent.Builderresources(Consumer<RecommendationRelatedEventResource.Builder>... resources)AResourceCollectionobject that contains arrays of the names of Amazon Web Services CloudFormation stacks.RecommendationRelatedEvent.Builderresources(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
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 Detail
-
name
RecommendationRelatedEvent.Builder name(String 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
RecommendationRelatedEvent.Builder resources(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
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 to#resources(List.) - 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:
#resources(java.util.Collection)
-
-