public static interface LayersListItem.Builder extends SdkPojo, CopyableBuilder<LayersListItem.Builder,LayersListItem>
Modifier and Type | Method and Description |
---|---|
default LayersListItem.Builder |
latestMatchingVersion(Consumer<LayerVersionsListItem.Builder> latestMatchingVersion)
The newest version of the layer.
|
LayersListItem.Builder |
latestMatchingVersion(LayerVersionsListItem latestMatchingVersion)
The newest version of the layer.
|
LayersListItem.Builder |
layerArn(String layerArn)
The Amazon Resource Name (ARN) of the function layer.
|
LayersListItem.Builder |
layerName(String layerName)
The name of the layer.
|
copy
applyMutation, build
LayersListItem.Builder layerName(String layerName)
The name of the layer.
layerName
- The name of the layer.LayersListItem.Builder layerArn(String layerArn)
The Amazon Resource Name (ARN) of the function layer.
layerArn
- The Amazon Resource Name (ARN) of the function layer.LayersListItem.Builder latestMatchingVersion(LayerVersionsListItem latestMatchingVersion)
The newest version of the layer.
latestMatchingVersion
- The newest version of the layer.default LayersListItem.Builder latestMatchingVersion(Consumer<LayerVersionsListItem.Builder> latestMatchingVersion)
The newest version of the layer.
This is a convenience that creates an instance of theLayerVersionsListItem.Builder
avoiding the need
to create one manually via LayerVersionsListItem.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to latestMatchingVersion(LayerVersionsListItem)
.latestMatchingVersion
- a consumer that will call methods on LayerVersionsListItem.Builder
latestMatchingVersion(LayerVersionsListItem)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.