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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaResource.Builderdestinations(Collection<MediaResourceNeighbor> destinations)Sets the value of the Destinations property for this object.MediaResource.Builderdestinations(Consumer<MediaResourceNeighbor.Builder>... destinations)Sets the value of the Destinations property for this object.MediaResource.Builderdestinations(MediaResourceNeighbor... destinations)Sets the value of the Destinations property for this object.MediaResource.Buildername(String name)The logical name of an AWS media resource.MediaResource.Buildersources(Collection<MediaResourceNeighbor> sources)Sets the value of the Sources property for this object.MediaResource.Buildersources(Consumer<MediaResourceNeighbor.Builder>... sources)Sets the value of the Sources property for this object.MediaResource.Buildersources(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
destinations
MediaResource.Builder destinations(Collection<MediaResourceNeighbor> 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
MediaResource.Builder destinations(MediaResourceNeighbor... 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
MediaResource.Builder destinations(Consumer<MediaResourceNeighbor.Builder>... destinations)
Sets the value of the Destinations property for this object. This is a convenience method that creates an instance of theMediaResourceNeighbor.Builderavoiding the need to create one manually viaMediaResourceNeighbor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#destinations(List.) - 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:
#destinations(java.util.Collection)
-
name
MediaResource.Builder name(String 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
MediaResource.Builder sources(Collection<MediaResourceNeighbor> 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
MediaResource.Builder sources(MediaResourceNeighbor... 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
MediaResource.Builder sources(Consumer<MediaResourceNeighbor.Builder>... sources)
Sets the value of the Sources property for this object. This is a convenience method that creates an instance of theMediaResourceNeighbor.Builderavoiding the need to create one manually viaMediaResourceNeighbor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sources(List.) - 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:
#sources(java.util.Collection)
-
-