@Generated(value="software.amazon.awssdk:codegen") public class CreateDocumentRequest extends SSMRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateDocumentRequest.Builder,CreateDocumentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDocumentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDocumentRequest.Builder |
builder() |
String |
content()
A valid JSON string.
|
DocumentType |
documentType()
The type of document to create.
|
String |
documentTypeString()
The type of document to create.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A name for the Systems Manager document.
|
static Class<? extends CreateDocumentRequest.Builder> |
serializableBuilderClass() |
CreateDocumentRequest.Builder |
toBuilder() |
String |
toString() |
requestOverrideConfigpublic String content()
A valid JSON string.
public String name()
A name for the Systems Manager document.
public DocumentType documentType()
The type of document to create. Valid document types include: Policy, Automation, and Command.
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
documentTypeString().
DocumentTypepublic String documentTypeString()
The type of document to create. Valid document types include: Policy, Automation, and Command.
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
documentTypeString().
DocumentTypepublic CreateDocumentRequest.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<CreateDocumentRequest.Builder,CreateDocumentRequest>toBuilder in class SSMRequestpublic static CreateDocumentRequest.Builder builder()
public static Class<? extends CreateDocumentRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2018. All rights reserved.