@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() |
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() |
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 String arn()
The Amazon Resource Name (ARN) of the component.
public String name()
The name of the component.
public String version()
The semantic version of the component.
public String description()
The description of the component.
public 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 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 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 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 String owner()
The owner of the component.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.