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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentLatestVersion.Builderarn(String arn)The ARN of the component version.ComponentLatestVersion.BuildercomponentVersion(String componentVersion)The version of the component.ComponentLatestVersion.BuildercreationTimestamp(Instant creationTimestamp)The time at which the component was created, expressed in ISO 8601 format.ComponentLatestVersion.Builderdescription(String description)The description of the component version.ComponentLatestVersion.Builderplatforms(Collection<ComponentPlatform> platforms)The platforms that the component version supports.ComponentLatestVersion.Builderplatforms(Consumer<ComponentPlatform.Builder>... platforms)The platforms that the component version supports.ComponentLatestVersion.Builderplatforms(ComponentPlatform... platforms)The platforms that the component version supports.ComponentLatestVersion.Builderpublisher(String publisher)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 Detail
-
arn
ComponentLatestVersion.Builder arn(String 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
ComponentLatestVersion.Builder componentVersion(String 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
ComponentLatestVersion.Builder creationTimestamp(Instant 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
ComponentLatestVersion.Builder description(String 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
ComponentLatestVersion.Builder publisher(String 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
ComponentLatestVersion.Builder platforms(Collection<ComponentPlatform> 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
ComponentLatestVersion.Builder platforms(ComponentPlatform... 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
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.Builderavoiding the need to create one manually viaComponentPlatform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#platforms(List.) - 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:
#platforms(java.util.Collection)
-
-