Class ContainerObjectState.Builder

  • Enclosing class:
    ContainerObjectState

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

      • containerName

        public ContainerObjectState.Builder containerName​(@Nullable
                                                          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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.Builder contentEncoding​(java.lang.String contentEncoding)
        Parameters:
        contentEncoding - A string representing the value of the Content-Encoding metadata.
        Returns:
        builder
      • contentLength

        public ContainerObjectState.Builder contentLength​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> contentLength)
        Parameters:
        contentLength - If the operation succeeds, this value is zero (0) or the length of informational or error text in the response body.
        Returns:
        builder
      • contentLength

        public ContainerObjectState.Builder contentLength​(java.lang.Integer contentLength)
        Parameters:
        contentLength - If the operation succeeds, this value is zero (0) or the length of informational or error text in the response body.
        Returns:
        builder
      • contentType

        public ContainerObjectState.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 ContainerObjectState.Builder contentType​(java.lang.String contentType)
        Parameters:
        contentType - A string which sets the MIME type for the object.
        Returns:
        builder
      • copyFrom

        public ContainerObjectState.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 ContainerObjectState.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
      • date

        public ContainerObjectState.Builder date​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> date)
        Parameters:
        date - The date and time the system responded to the request, using the preferred format of RFC 7231 as shown in this example Thu, 16 Jun 2016 15:10:38 GMT. The time is always in UTC.
        Returns:
        builder
      • date

        public ContainerObjectState.Builder date​(java.lang.String date)
        Parameters:
        date - The date and time the system responded to the request, using the preferred format of RFC 7231 as shown in this example Thu, 16 Jun 2016 15:10:38 GMT. The time is always in UTC.
        Returns:
        builder
      • deleteAfter

        public ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}.
        Returns:
        builder
      • lastModified

        public ContainerObjectState.Builder lastModified​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> lastModified)
        Parameters:
        lastModified - The date and time when the object was last modified. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included, is the time zone as an offset from UTC. In the previous example, the offset value is -05:00.
        Returns:
        builder
      • lastModified

        public ContainerObjectState.Builder lastModified​(java.lang.String lastModified)
        Parameters:
        lastModified - The date and time when the object was last modified. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included, is the time zone as an offset from UTC. In the previous example, the offset value is -05:00.
        Returns:
        builder
      • metadata

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

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

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

        public ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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 ContainerObjectState.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
      • transId

        public ContainerObjectState.Builder transId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> transId)
        Parameters:
        transId - A unique transaction ID for this request. Your service provider might need this value if you report a problem.
        Returns:
        builder
      • transId

        public ContainerObjectState.Builder transId​(java.lang.String transId)
        Parameters:
        transId - A unique transaction ID for this request. Your service provider might need this value if you report a problem.
        Returns:
        builder