public static interface ComponentLatestVersion.Builder extends SdkPojo, CopyableBuilder<ComponentLatestVersion.Builder,ComponentLatestVersion>
| Modifier and Type | Method and Description |
|---|---|
ComponentLatestVersion.Builder |
arn(String arn)
The ARN of the
component version.
|
ComponentLatestVersion.Builder |
componentVersion(String componentVersion)
The version of the component.
|
ComponentLatestVersion.Builder |
creationTimestamp(Instant creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
|
ComponentLatestVersion.Builder |
description(String description)
The description of the component version.
|
ComponentLatestVersion.Builder |
platforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
|
ComponentLatestVersion.Builder |
platforms(ComponentPlatform... platforms)
The platforms that the component version supports.
|
ComponentLatestVersion.Builder |
platforms(Consumer<ComponentPlatform.Builder>... platforms)
The platforms that the component version supports.
|
ComponentLatestVersion.Builder |
publisher(String publisher)
The publisher of the component version.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentLatestVersion.Builder arn(String arn)
The ARN of the component version.
arn - The ARN of
the component version.ComponentLatestVersion.Builder componentVersion(String componentVersion)
The version of the component.
componentVersion - The version of the component.ComponentLatestVersion.Builder creationTimestamp(Instant creationTimestamp)
The time at which the component was created, expressed in ISO 8601 format.
creationTimestamp - The time at which the component was created, expressed in ISO 8601 format.ComponentLatestVersion.Builder description(String description)
The description of the component version.
description - The description of the component version.ComponentLatestVersion.Builder publisher(String publisher)
The publisher of the component version.
publisher - The publisher of the component version.ComponentLatestVersion.Builder platforms(Collection<ComponentPlatform> platforms)
The platforms that the component version supports.
platforms - The platforms that the component version supports.ComponentLatestVersion.Builder platforms(ComponentPlatform... platforms)
The platforms that the component version supports.
platforms - The platforms that the component version supports.ComponentLatestVersion.Builder platforms(Consumer<ComponentPlatform.Builder>... platforms)
The platforms that the component version supports.
This is a convenience method that creates an instance of theComponentPlatform.Builder avoiding the need to
create one manually via
ComponentPlatform.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #platforms(List.
platforms - a consumer that will call methods on
ComponentPlatform.Builder#platforms(java.util.Collection) Copyright © 2023. All rights reserved.