Interface ComponentLatestVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentLatestVersion.Builder,
,ComponentLatestVersion> SdkBuilder<ComponentLatestVersion.Builder,
,ComponentLatestVersion> SdkPojo
- Enclosing class:
ComponentLatestVersion
public static interface ComponentLatestVersion.Builder
extends SdkPojo, CopyableBuilder<ComponentLatestVersion.Builder,ComponentLatestVersion>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the component version.componentVersion
(String componentVersion) The version of the component.creationTimestamp
(Instant creationTimestamp) The time at which the component was created, expressed in ISO 8601 format.description
(String description) The description of the component version.platforms
(Collection<ComponentPlatform> platforms) The platforms that the component version supports.platforms
(Consumer<ComponentPlatform.Builder>... platforms) The platforms that the component version supports.platforms
(ComponentPlatform... platforms) The platforms that the component version supports.The publisher of the component version.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
-
arn
The ARN of the component version.
- Parameters:
arn
- The ARN of the component version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersion
The version of the component.
- Parameters:
componentVersion
- The version of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The time at which the component was created, expressed in ISO 8601 format.
- Parameters:
creationTimestamp
- The time at which the component was created, expressed in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the component version.
- Parameters:
description
- The description of the component version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publisher
The publisher of the component version.
- Parameters:
publisher
- The publisher of the component version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platforms
The platforms that the component version supports.
- Parameters:
platforms
- The platforms that the component version supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platforms
The platforms that the component version supports.
- Parameters:
platforms
- The platforms that the component version supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaComponentPlatform.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplatforms(List<ComponentPlatform>)
.- Parameters:
platforms
- a consumer that will call methods onComponentPlatform.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-