Class ContainerObjectArgs.Builder

  • Enclosing class:
    ContainerObjectArgs

    public static final class ContainerObjectArgs.Builder
    extends java.lang.Object
    • Method Detail

      • containerName

        public ContainerObjectArgs.Builder containerName​(com.pulumi.core.Output<java.lang.String> containerName)
        Parameters:
        containerName - A unique (within an account) name for the container. The container name must be from 1 to 256 characters long and can start with any character and contain any pattern. Character set must be UTF-8. The container name cannot contain a slash (/) character because this character delimits the container and object name. For example, the path /v1/account/www/pages specifies the www container, not the www/pages container.
        Returns:
        builder
      • containerName

        public ContainerObjectArgs.Builder containerName​(java.lang.String containerName)
        Parameters:
        containerName - A unique (within an account) name for the container. The container name must be from 1 to 256 characters long and can start with any character and contain any pattern. Character set must be UTF-8. The container name cannot contain a slash (/) character because this character delimits the container and object name. For example, the path /v1/account/www/pages specifies the www container, not the www/pages container.
        Returns:
        builder
      • content

        public ContainerObjectArgs.Builder content​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> content)
        Parameters:
        content - A string representing the content of the object. Conflicts with `source` and `copy_from`.
        Returns:
        builder
      • content

        public ContainerObjectArgs.Builder content​(java.lang.String content)
        Parameters:
        content - A string representing the content of the object. Conflicts with `source` and `copy_from`.
        Returns:
        builder
      • contentDisposition

        public ContainerObjectArgs.Builder contentDisposition​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> contentDisposition)
        Parameters:
        contentDisposition - A string which specifies the override behavior for the browser. For example, this header might specify that the browser use a download program to save this file rather than show the file, which is the default.
        Returns:
        builder
      • contentDisposition

        public ContainerObjectArgs.Builder contentDisposition​(java.lang.String contentDisposition)
        Parameters:
        contentDisposition - A string which specifies the override behavior for the browser. For example, this header might specify that the browser use a download program to save this file rather than show the file, which is the default.
        Returns:
        builder
      • contentEncoding

        public ContainerObjectArgs.Builder contentEncoding​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> contentEncoding)
        Parameters:
        contentEncoding - A string representing the value of the Content-Encoding metadata.
        Returns:
        builder
      • contentEncoding

        public ContainerObjectArgs.Builder contentEncoding​(java.lang.String contentEncoding)
        Parameters:
        contentEncoding - A string representing the value of the Content-Encoding metadata.
        Returns:
        builder
      • contentType

        public ContainerObjectArgs.Builder contentType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> contentType)
        Parameters:
        contentType - A string which sets the MIME type for the object.
        Returns:
        builder
      • contentType

        public ContainerObjectArgs.Builder contentType​(java.lang.String contentType)
        Parameters:
        contentType - A string which sets the MIME type for the object.
        Returns:
        builder
      • copyFrom

        public ContainerObjectArgs.Builder copyFrom​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> copyFrom)
        Parameters:
        copyFrom - A string representing the name of an object used to create the new object by copying the `copy_from` object. The value is in form {container}/{object}. You must UTF-8-encode and then URL-encode the names of the container and object before you include them in the header. Conflicts with `source` and `content`.
        Returns:
        builder
      • copyFrom

        public ContainerObjectArgs.Builder copyFrom​(java.lang.String copyFrom)
        Parameters:
        copyFrom - A string representing the name of an object used to create the new object by copying the `copy_from` object. The value is in form {container}/{object}. You must UTF-8-encode and then URL-encode the names of the container and object before you include them in the header. Conflicts with `source` and `content`.
        Returns:
        builder
      • deleteAfter

        public ContainerObjectArgs.Builder deleteAfter​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> deleteAfter)
        Parameters:
        deleteAfter - An integer representing the number of seconds after which the system removes the object. Internally, the Object Storage system stores this value in the X-Delete-At metadata item.
        Returns:
        builder
      • deleteAfter

        public ContainerObjectArgs.Builder deleteAfter​(java.lang.Integer deleteAfter)
        Parameters:
        deleteAfter - An integer representing the number of seconds after which the system removes the object. Internally, the Object Storage system stores this value in the X-Delete-At metadata item.
        Returns:
        builder
      • deleteAt

        public ContainerObjectArgs.Builder deleteAt​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> deleteAt)
        Parameters:
        deleteAt - An string representing the date when the system removes the object. For example, "2015-08-26" is equivalent to Mon, Wed, 26 Aug 2015 00:00:00 GMT.
        Returns:
        builder
      • deleteAt

        public ContainerObjectArgs.Builder deleteAt​(java.lang.String deleteAt)
        Parameters:
        deleteAt - An string representing the date when the system removes the object. For example, "2015-08-26" is equivalent to Mon, Wed, 26 Aug 2015 00:00:00 GMT.
        Returns:
        builder
      • detectContentType

        public ContainerObjectArgs.Builder detectContentType​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> detectContentType)
        Parameters:
        detectContentType - If set to true, Object Storage guesses the content type based on the file extension and ignores the value sent in the Content-Type header, if present.
        Returns:
        builder
      • detectContentType

        public ContainerObjectArgs.Builder detectContentType​(java.lang.Boolean detectContentType)
        Parameters:
        detectContentType - If set to true, Object Storage guesses the content type based on the file extension and ignores the value sent in the Content-Type header, if present.
        Returns:
        builder
      • etag

        public ContainerObjectArgs.Builder etag​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}.
        Returns:
        builder
      • etag

        public ContainerObjectArgs.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}.
        Returns:
        builder
      • metadata

        public ContainerObjectArgs.Builder metadata​(@Nullable
                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> metadata)
      • name

        public ContainerObjectArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the object.
        Returns:
        builder
      • name

        public ContainerObjectArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the object.
        Returns:
        builder
      • objectManifest

        public ContainerObjectArgs.Builder objectManifest​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> objectManifest)
        Parameters:
        objectManifest - A string set to specify that this is a dynamic large object manifest object. The value is the container and object name prefix of the segment objects in the form container/prefix. You must UTF-8-encode and then URL-encode the names of the container and prefix before you include them in this header.
        Returns:
        builder
      • objectManifest

        public ContainerObjectArgs.Builder objectManifest​(java.lang.String objectManifest)
        Parameters:
        objectManifest - A string set to specify that this is a dynamic large object manifest object. The value is the container and object name prefix of the segment objects in the form container/prefix. You must UTF-8-encode and then URL-encode the names of the container and prefix before you include them in this header.
        Returns:
        builder
      • region

        public ContainerObjectArgs.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to create the container. If omitted, the `region` argument of the provider is used. Changing this creates a new container.
        Returns:
        builder
      • region

        public ContainerObjectArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to create the container. If omitted, the `region` argument of the provider is used. Changing this creates a new container.
        Returns:
        builder
      • source

        public ContainerObjectArgs.Builder source​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> source)
        Parameters:
        source - A string representing the local path of a file which will be used as the object's content. Conflicts with `source` and `copy_from`.
        Returns:
        builder
      • source

        public ContainerObjectArgs.Builder source​(java.lang.String source)
        Parameters:
        source - A string representing the local path of a file which will be used as the object's content. Conflicts with `source` and `copy_from`.
        Returns:
        builder