Class DocumentState.Builder

  • Enclosing class:
    DocumentState

    public static final class DocumentState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public DocumentState.Builder arn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) of the document.
        Returns:
        builder
      • arn

        public DocumentState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) of the document.
        Returns:
        builder
      • attachmentsSources

        public DocumentState.Builder attachmentsSources​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<DocumentAttachmentsSourceArgs>> attachmentsSources)
        Parameters:
        attachmentsSources - One or more configuration blocks describing attachments sources to a version of a document. See `attachments_source` block below for details.
        Returns:
        builder
      • attachmentsSources

        public DocumentState.Builder attachmentsSources​(java.util.List<DocumentAttachmentsSourceArgs> attachmentsSources)
        Parameters:
        attachmentsSources - One or more configuration blocks describing attachments sources to a version of a document. See `attachments_source` block below for details.
        Returns:
        builder
      • attachmentsSources

        public DocumentState.Builder attachmentsSources​(DocumentAttachmentsSourceArgs... attachmentsSources)
        Parameters:
        attachmentsSources - One or more configuration blocks describing attachments sources to a version of a document. See `attachments_source` block below for details.
        Returns:
        builder
      • content

        public DocumentState.Builder content​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> content)
        Parameters:
        content - The content for the SSM document in JSON or YAML format. The content of the document must not exceed 64KB. This quota also includes the content specified for input parameters at runtime. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.
        Returns:
        builder
      • content

        public DocumentState.Builder content​(java.lang.String content)
        Parameters:
        content - The content for the SSM document in JSON or YAML format. The content of the document must not exceed 64KB. This quota also includes the content specified for input parameters at runtime. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.
        Returns:
        builder
      • createdDate

        public DocumentState.Builder createdDate​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> createdDate)
        Parameters:
        createdDate - The date the document was created.
        Returns:
        builder
      • createdDate

        public DocumentState.Builder createdDate​(java.lang.String createdDate)
        Parameters:
        createdDate - The date the document was created.
        Returns:
        builder
      • defaultVersion

        public DocumentState.Builder defaultVersion​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> defaultVersion)
        Parameters:
        defaultVersion - The default version of the document.
        Returns:
        builder
      • defaultVersion

        public DocumentState.Builder defaultVersion​(java.lang.String defaultVersion)
        Parameters:
        defaultVersion - The default version of the document.
        Returns:
        builder
      • description

        public DocumentState.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
        Returns:
        builder
      • description

        public DocumentState.Builder description​(java.lang.String description)
        Parameters:
        description - A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
        Returns:
        builder
      • documentFormat

        public DocumentState.Builder documentFormat​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> documentFormat)
        Parameters:
        documentFormat - The format of the document. Valid values: `JSON`, `TEXT`, `YAML`.
        Returns:
        builder
      • documentFormat

        public DocumentState.Builder documentFormat​(java.lang.String documentFormat)
        Parameters:
        documentFormat - The format of the document. Valid values: `JSON`, `TEXT`, `YAML`.
        Returns:
        builder
      • documentType

        public DocumentState.Builder documentType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> documentType)
        Parameters:
        documentType - The type of the document. For a list of valid values, see the [API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateDocument.html#systemsmanager-CreateDocument-request-DocumentType).
        Returns:
        builder
      • documentType

        public DocumentState.Builder documentType​(java.lang.String documentType)
        Parameters:
        documentType - The type of the document. For a list of valid values, see the [API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateDocument.html#systemsmanager-CreateDocument-request-DocumentType).
        Returns:
        builder
      • documentVersion

        public DocumentState.Builder documentVersion​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> documentVersion)
        Parameters:
        documentVersion - The document version.
        Returns:
        builder
      • documentVersion

        public DocumentState.Builder documentVersion​(java.lang.String documentVersion)
        Parameters:
        documentVersion - The document version.
        Returns:
        builder
      • hash

        public DocumentState.Builder hash​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> hash)
        Parameters:
        hash - The Sha256 or Sha1 hash created by the system when the document was created.
        Returns:
        builder
      • hash

        public DocumentState.Builder hash​(java.lang.String hash)
        Parameters:
        hash - The Sha256 or Sha1 hash created by the system when the document was created.
        Returns:
        builder
      • hashType

        public DocumentState.Builder hashType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> hashType)
        Parameters:
        hashType - The hash type of the document. Valid values: `Sha256`, `Sha1`.
        Returns:
        builder
      • hashType

        public DocumentState.Builder hashType​(java.lang.String hashType)
        Parameters:
        hashType - The hash type of the document. Valid values: `Sha256`, `Sha1`.
        Returns:
        builder
      • latestVersion

        public DocumentState.Builder latestVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> latestVersion)
        Parameters:
        latestVersion - The latest version of the document.
        Returns:
        builder
      • latestVersion

        public DocumentState.Builder latestVersion​(java.lang.String latestVersion)
        Parameters:
        latestVersion - The latest version of the document.
        Returns:
        builder
      • name

        public DocumentState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the document.
        Returns:
        builder
      • name

        public DocumentState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the document.
        Returns:
        builder
      • owner

        public DocumentState.Builder owner​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> owner)
        Parameters:
        owner - The Amazon Web Services user that created the document.
        Returns:
        builder
      • owner

        public DocumentState.Builder owner​(java.lang.String owner)
        Parameters:
        owner - The Amazon Web Services user that created the document.
        Returns:
        builder
      • parameters

        public DocumentState.Builder parameters​(@Nullable
                                                com.pulumi.core.Output<java.util.List<DocumentParameterArgs>> parameters)
        Parameters:
        parameters - One or more configuration blocks describing the parameters for the document. See `parameter` block below for details.
        Returns:
        builder
      • parameters

        public DocumentState.Builder parameters​(java.util.List<DocumentParameterArgs> parameters)
        Parameters:
        parameters - One or more configuration blocks describing the parameters for the document. See `parameter` block below for details.
        Returns:
        builder
      • parameters

        public DocumentState.Builder parameters​(DocumentParameterArgs... parameters)
        Parameters:
        parameters - One or more configuration blocks describing the parameters for the document. See `parameter` block below for details.
        Returns:
        builder
      • permissions

        public DocumentState.Builder permissions​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> permissions)
        Parameters:
        permissions - Additional permissions to attach to the document. See Permissions below for details.
        Returns:
        builder
      • permissions

        public DocumentState.Builder permissions​(java.util.Map<java.lang.String,​java.lang.String> permissions)
        Parameters:
        permissions - Additional permissions to attach to the document. See Permissions below for details.
        Returns:
        builder
      • platformTypes

        public DocumentState.Builder platformTypes​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> platformTypes)
        Parameters:
        platformTypes - The list of operating system (OS) platforms compatible with this SSM document. Valid values: `Windows`, `Linux`, `MacOS`.
        Returns:
        builder
      • platformTypes

        public DocumentState.Builder platformTypes​(java.util.List<java.lang.String> platformTypes)
        Parameters:
        platformTypes - The list of operating system (OS) platforms compatible with this SSM document. Valid values: `Windows`, `Linux`, `MacOS`.
        Returns:
        builder
      • platformTypes

        public DocumentState.Builder platformTypes​(java.lang.String... platformTypes)
        Parameters:
        platformTypes - The list of operating system (OS) platforms compatible with this SSM document. Valid values: `Windows`, `Linux`, `MacOS`.
        Returns:
        builder
      • schemaVersion

        public DocumentState.Builder schemaVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> schemaVersion)
        Parameters:
        schemaVersion - The schema version of the document.
        Returns:
        builder
      • schemaVersion

        public DocumentState.Builder schemaVersion​(java.lang.String schemaVersion)
        Parameters:
        schemaVersion - The schema version of the document.
        Returns:
        builder
      • status

        public DocumentState.Builder status​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status of the SSM document. Valid values: `Creating`, `Active`, `Updating`, `Deleting`, `Failed`.
        Returns:
        builder
      • status

        public DocumentState.Builder status​(java.lang.String status)
        Parameters:
        status - The status of the SSM document. Valid values: `Creating`, `Active`, `Updating`, `Deleting`, `Failed`.
        Returns:
        builder
      • tags

        public DocumentState.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the object. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public DocumentState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the object. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public DocumentState.Builder tagsAll​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public DocumentState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • targetType

        public DocumentState.Builder targetType​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> targetType)
        Parameters:
        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 and property types reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
        Returns:
        builder
      • targetType

        public DocumentState.Builder targetType​(java.lang.String targetType)
        Parameters:
        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 and property types reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
        Returns:
        builder
      • versionName

        public DocumentState.Builder versionName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> versionName)
        Parameters:
        versionName - The version of the artifact associated with the document. For example, `12.6`. This value is unique across all versions of a document, and can't be changed.
        Returns:
        builder
      • versionName

        public DocumentState.Builder versionName​(java.lang.String versionName)
        Parameters:
        versionName - The version of the artifact associated with the document. For example, `12.6`. This value is unique across all versions of a document, and can't be changed.
        Returns:
        builder