@Generated(value="software.amazon.awssdk:codegen") public final class ComponentVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComponentVersion.Builder,ComponentVersion>
A high-level overview of a component semantic version.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComponentVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the component.
|
static ComponentVersion.Builder |
builder() |
String |
dateCreated()
The date that the component was created.
|
String |
description()
The description of the component.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSupportedOsVersions()
Returns true if the SupportedOsVersions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
name()
The name of the component.
|
String |
owner()
The owner of the component.
|
Platform |
platform()
The platform of the component.
|
String |
platformAsString()
The platform of the component.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComponentVersion.Builder> |
serializableBuilderClass() |
List<String> |
supportedOsVersions()
he operating system (OS) version supported by the component.
|
ComponentVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ComponentType |
type()
The type of the component denotes whether the component is used to build the image or only to test it.
|
String |
typeAsString()
The type of the component denotes whether the component is used to build the image or only to test it.
|
String |
version()
The semantic version of the component.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the component.
public final String name()
The name of the component.
public final String version()
The semantic version of the component.
public final String description()
The description of the component.
public final Platform platform()
The platform of the component.
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final String platformAsString()
The platform of the component.
If the service returns an enum value that is not available in the current SDK version, platform will
return Platform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Platformpublic final boolean hasSupportedOsVersions()
public final List<String> supportedOsVersions()
he operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedOsVersions() to see if a value was sent in this field.
public final ComponentType type()
The type of the component denotes whether the component is used to build the image or only to test it.
If the service returns an enum value that is not available in the current SDK version, type will return
ComponentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ComponentTypepublic final String typeAsString()
The type of the component denotes whether the component is used to build the image or only to test it.
If the service returns an enum value that is not available in the current SDK version, type will return
ComponentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ComponentTypepublic final String owner()
The owner of the component.
public final String dateCreated()
The date that the component was created.
public ComponentVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComponentVersion.Builder,ComponentVersion>public static ComponentVersion.Builder builder()
public static Class<? extends ComponentVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.