public static interface Component.Builder extends SdkPojo, CopyableBuilder<Component.Builder,Component>
| Modifier and Type | Method and Description |
|---|---|
Component.Builder |
arn(String arn)
The ARN of the
component version.
|
Component.Builder |
componentName(String componentName)
The name of the component.
|
Component.Builder |
latestVersion(ComponentLatestVersion latestVersion)
The latest version of the component and its details.
|
default Component.Builder |
latestVersion(Consumer<ComponentLatestVersion.Builder> latestVersion)
The latest version of the component and its details.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponent.Builder arn(String arn)
The ARN of the component version.
arn - The ARN of
the component version.Component.Builder componentName(String componentName)
The name of the component.
componentName - The name of the component.Component.Builder latestVersion(ComponentLatestVersion latestVersion)
The latest version of the component and its details.
latestVersion - The latest version of the component and its details.default Component.Builder latestVersion(Consumer<ComponentLatestVersion.Builder> latestVersion)
The latest version of the component and its details.
This is a convenience method that creates an instance of theComponentLatestVersion.Builder avoiding
the need to create one manually via ComponentLatestVersion.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to latestVersion(ComponentLatestVersion).
latestVersion - a consumer that will call methods on ComponentLatestVersion.BuilderlatestVersion(ComponentLatestVersion)Copyright © 2023. All rights reserved.