@Generated(value="software.amazon.awssdk:codegen") public final class ServiceTemplateVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceTemplateVersion.Builder,ServiceTemplateVersion>
Detailed data of an Proton service template version resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceTemplateVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the version of a service template.
|
static ServiceTemplateVersion.Builder |
builder() |
List<CompatibleEnvironmentTemplate> |
compatibleEnvironmentTemplates()
An array of compatible environment template names for the major version of a service template.
|
Instant |
createdAt()
The time when the version of a service template was created.
|
String |
description()
A description of the version of a service template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCompatibleEnvironmentTemplates()
For responses, this returns true if the service returned a value for the CompatibleEnvironmentTemplates property.
|
int |
hashCode() |
boolean |
hasSupportedComponentSources()
For responses, this returns true if the service returned a value for the SupportedComponentSources property.
|
Instant |
lastModifiedAt()
The time when the version of a service template was last modified.
|
String |
majorVersion()
The latest major version that's associated with the version of a service template.
|
String |
minorVersion()
The minor version of a service template.
|
String |
recommendedMinorVersion()
The recommended minor version of the service template.
|
String |
schema()
The schema of the version of a service template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceTemplateVersion.Builder> |
serializableBuilderClass() |
TemplateVersionStatus |
status()
The service template version status.
|
String |
statusAsString()
The service template version status.
|
String |
statusMessage()
A service template version status message.
|
List<ServiceTemplateSupportedComponentSourceType> |
supportedComponentSources()
An array of supported component sources.
|
List<String> |
supportedComponentSourcesAsStrings()
An array of supported component sources.
|
String |
templateName()
The name of the version of a service template.
|
ServiceTemplateVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the version of a service template.
public final boolean hasCompatibleEnvironmentTemplates()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates()
An array of compatible environment template names for the major version of a service template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCompatibleEnvironmentTemplates() method.
public final Instant createdAt()
The time when the version of a service template was created.
public final String description()
A description of the version of a service template.
public final Instant lastModifiedAt()
The time when the version of a service template was last modified.
public final String majorVersion()
The latest major version that's associated with the version of a service template.
public final String minorVersion()
The minor version of a service template.
public final String recommendedMinorVersion()
The recommended minor version of the service template.
public final String schema()
The schema of the version of a service template.
public final TemplateVersionStatus status()
The service template version status.
If the service returns an enum value that is not available in the current SDK version, status will
return TemplateVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
TemplateVersionStatuspublic final String statusAsString()
The service template version status.
If the service returns an enum value that is not available in the current SDK version, status will
return TemplateVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
TemplateVersionStatuspublic final String statusMessage()
A service template version status message.
public final List<ServiceTemplateSupportedComponentSourceType> supportedComponentSources()
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedComponentSources() method.
For more information about components, see Proton components in the Proton User Guide.
public final boolean hasSupportedComponentSources()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedComponentSourcesAsStrings()
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedComponentSources() method.
For more information about components, see Proton components in the Proton User Guide.
public final String templateName()
The name of the version of a service template.
public ServiceTemplateVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceTemplateVersion.Builder,ServiceTemplateVersion>public static ServiceTemplateVersion.Builder builder()
public static Class<? extends ServiceTemplateVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.