Interface MediaResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaResource.Builder,
,MediaResource> SdkBuilder<MediaResource.Builder,
,MediaResource> SdkPojo
- Enclosing class:
MediaResource
public static interface MediaResource.Builder
extends SdkPojo, CopyableBuilder<MediaResource.Builder,MediaResource>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations
(Collection<MediaResourceNeighbor> destinations) Sets the value of the Destinations property for this object.destinations
(Consumer<MediaResourceNeighbor.Builder>... destinations) Sets the value of the Destinations property for this object.destinations
(MediaResourceNeighbor... destinations) Sets the value of the Destinations property for this object.The logical name of an AWS media resource.sources
(Collection<MediaResourceNeighbor> sources) Sets the value of the Sources property for this object.sources
(Consumer<MediaResourceNeighbor.Builder>... sources) Sets the value of the Sources property for this object.sources
(MediaResourceNeighbor... sources) Sets the value of the Sources property for this object.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
-
destinations
Sets the value of the Destinations property for this object.- Parameters:
destinations
- The new value for the Destinations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Sets the value of the Destinations property for this object.- Parameters:
destinations
- The new value for the Destinations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Sets the value of the Destinations property for this object. This is a convenience method that creates an instance of theMediaResourceNeighbor.Builder
avoiding the need to create one manually viaMediaResourceNeighbor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<MediaResourceNeighbor>)
.- Parameters:
destinations
- a consumer that will call methods onMediaResourceNeighbor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The logical name of an AWS media resource.- Parameters:
name
- The logical name of an AWS media resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object.- Parameters:
sources
- The new value for the Sources property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Sets the value of the Sources property for this object. This is a convenience method that creates an instance of theMediaResourceNeighbor.Builder
avoiding the need to create one manually viaMediaResourceNeighbor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<MediaResourceNeighbor>)
.- Parameters:
sources
- a consumer that will call methods onMediaResourceNeighbor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-