@Generated(value="software.amazon.awssdk:codegen") public final class DocumentIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>
Describes the name of a Systems Manager document.
Modifier and Type | Class and Description |
---|---|
static interface |
DocumentIdentifier.Builder |
Modifier and Type | Method and Description |
---|---|
static DocumentIdentifier.Builder |
builder() |
DocumentFormat |
documentFormat()
The document format, either JSON or YAML.
|
String |
documentFormatAsString()
The document format, either JSON or YAML.
|
DocumentType |
documentType()
The document type.
|
String |
documentTypeAsString()
The document type.
|
String |
documentVersion()
The document version.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the Systems Manager document.
|
String |
owner()
The AWS user account that created the document.
|
List<PlatformType> |
platformTypes()
The operating system platform.
|
List<String> |
platformTypesAsStrings()
The operating system platform.
|
String |
schemaVersion()
The schema version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentIdentifier.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags, or metadata, that have been applied to the document.
|
String |
targetType()
The target type which defines the kinds of resources the document can run on.
|
DocumentIdentifier.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
versionName()
An optional field specifying the version of the artifact associated with the document.
|
copy
public String name()
The name of the Systems Manager document.
public String owner()
The AWS user account that created the document.
public String versionName()
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
public List<PlatformType> platformTypes()
The operating system platform.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> platformTypesAsStrings()
The operating system platform.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String documentVersion()
The document version.
public DocumentType documentType()
The document type.
If the service returns an enum value that is not available in the current SDK version, documentType
will
return DocumentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
documentTypeAsString()
.
DocumentType
public String documentTypeAsString()
The document type.
If the service returns an enum value that is not available in the current SDK version, documentType
will
return DocumentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
documentTypeAsString()
.
DocumentType
public String schemaVersion()
The schema version.
public DocumentFormat documentFormat()
The document format, either JSON or YAML.
If the service returns an enum value that is not available in the current SDK version, documentFormat
will return DocumentFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from documentFormatAsString()
.
DocumentFormat
public String documentFormatAsString()
The document format, either JSON or YAML.
If the service returns an enum value that is not available in the current SDK version, documentFormat
will return DocumentFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from documentFormatAsString()
.
DocumentFormat
public String targetType()
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference in the AWS CloudFormation User Guide.
public List<Tag> tags()
The tags, or metadata, that have been applied to the document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DocumentIdentifier.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>
public static DocumentIdentifier.Builder builder()
public static Class<? extends DocumentIdentifier.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.