@Generated(value="software.amazon.awssdk:codegen") public final class Component extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Component.Builder,Component>
A detailed view of a component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Component.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the component.
|
static Component.Builder |
builder() |
String |
changeDescription()
The change description of the component.
|
String |
data()
The data of the component.
|
String |
dateCreated()
The date that the component was created.
|
String |
description()
The description of the component.
|
Boolean |
encrypted()
The encryption status 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).
|
boolean |
hasTags()
Returns true if the Tags 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 |
kmsKeyId()
The KMS key identifier used to encrypt the component.
|
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 Component.Builder> |
serializableBuilderClass() |
List<String> |
supportedOsVersions()
The operating system (OS) version supported by the component.
|
Map<String,String> |
tags()
The tags associated with the component.
|
Component.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 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 version of the component.
public final String description()
The description of the component.
public final String changeDescription()
The change description of the component.
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 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()
The 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 String owner()
The owner of the component.
public final String data()
The data of the component.
public final String kmsKeyId()
The KMS key identifier used to encrypt the component.
public final Boolean encrypted()
The encryption status of the component.
public final String dateCreated()
The date that the component was created.
public final boolean hasTags()
public final Map<String,String> tags()
The tags associated with the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public Component.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Component.Builder,Component>public static Component.Builder builder()
public static Class<? extends Component.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.