public static interface ComponentSummary.Builder extends SdkPojo, CopyableBuilder<ComponentSummary.Builder,ComponentSummary>
| Modifier and Type | Method and Description |
|---|---|
ComponentSummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the component.
|
ComponentSummary.Builder |
changeDescription(String changeDescription)
The change description for the current version of the component.
|
ComponentSummary.Builder |
dateCreated(String dateCreated)
The original creation date of the component.
|
ComponentSummary.Builder |
description(String description)
The description of the component.
|
ComponentSummary.Builder |
name(String name)
The name of the component.
|
ComponentSummary.Builder |
obfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for
API, CLI, or SDK operations.
|
ComponentSummary.Builder |
owner(String owner)
The owner of the component.
|
ComponentSummary.Builder |
platform(Platform platform)
The operating system platform of the component.
|
ComponentSummary.Builder |
platform(String platform)
The operating system platform of the component.
|
ComponentSummary.Builder |
publisher(String publisher)
Contains the name of the publisher if this is a third-party component.
|
ComponentSummary.Builder |
state(ComponentState state)
Describes the current status of the component.
|
default ComponentSummary.Builder |
state(Consumer<ComponentState.Builder> state)
Describes the current status of the component.
|
ComponentSummary.Builder |
supportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version that the component supports.
|
ComponentSummary.Builder |
supportedOsVersions(String... supportedOsVersions)
The operating system (OS) version that the component supports.
|
ComponentSummary.Builder |
tags(Map<String,String> tags)
The tags that apply to the component.
|
ComponentSummary.Builder |
type(ComponentType type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
|
ComponentSummary.Builder |
type(String type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
|
ComponentSummary.Builder |
version(String version)
The version of the component.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the component.
arn - The Amazon Resource Name (ARN) of the component.ComponentSummary.Builder name(String name)
The name of the component.
name - The name of the component.ComponentSummary.Builder version(String version)
The version of the component.
version - The version of the component.ComponentSummary.Builder platform(String platform)
The operating system platform of the component.
ComponentSummary.Builder platform(Platform platform)
The operating system platform of the component.
ComponentSummary.Builder supportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
supportedOsVersions - The operating system (OS) version that the component supports. If the OS information is available,
Image Builder performs a prefix match against the base image OS version during image recipe creation.ComponentSummary.Builder supportedOsVersions(String... supportedOsVersions)
The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
supportedOsVersions - The operating system (OS) version that the component supports. If the OS information is available,
Image Builder performs a prefix match against the base image OS version during image recipe creation.ComponentSummary.Builder state(ComponentState state)
Describes the current status of the component.
state - Describes the current status of the component.default ComponentSummary.Builder state(Consumer<ComponentState.Builder> state)
Describes the current status of the component.
This is a convenience method that creates an instance of theComponentState.Builder avoiding the need
to create one manually via ComponentState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to state(ComponentState).
state - a consumer that will call methods on ComponentState.Builderstate(ComponentState)ComponentSummary.Builder type(String type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
type - The component type specifies whether Image Builder uses the component to build the image or only to
test it.ComponentType,
ComponentTypeComponentSummary.Builder type(ComponentType type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
type - The component type specifies whether Image Builder uses the component to build the image or only to
test it.ComponentType,
ComponentTypeComponentSummary.Builder owner(String owner)
The owner of the component.
owner - The owner of the component.ComponentSummary.Builder description(String description)
The description of the component.
description - The description of the component.ComponentSummary.Builder changeDescription(String changeDescription)
The change description for the current version of the component.
changeDescription - The change description for the current version of the component.ComponentSummary.Builder dateCreated(String dateCreated)
The original creation date of the component.
dateCreated - The original creation date of the component.ComponentSummary.Builder tags(Map<String,String> tags)
The tags that apply to the component.
tags - The tags that apply to the component.ComponentSummary.Builder publisher(String publisher)
Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
publisher - Contains the name of the publisher if this is a third-party component. Otherwise, this property is
empty.ComponentSummary.Builder obfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
obfuscate - Indicates whether component source is hidden from view in the console, and from component detail
results for API, CLI, or SDK operations.Copyright © 2023. All rights reserved.