Class ContainerObjectState.Builder
- java.lang.Object
-
- com.pulumi.openstack.objectstorage.inputs.ContainerObjectState.Builder
-
- Enclosing class:
- ContainerObjectState
public static final class ContainerObjectState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ContainerObjectState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerObjectStatebuild()ContainerObjectState.BuildercontainerName(com.pulumi.core.Output<java.lang.String> containerName)ContainerObjectState.BuildercontainerName(java.lang.String containerName)ContainerObjectState.Buildercontent(com.pulumi.core.Output<java.lang.String> content)ContainerObjectState.Buildercontent(java.lang.String content)ContainerObjectState.BuildercontentDisposition(com.pulumi.core.Output<java.lang.String> contentDisposition)ContainerObjectState.BuildercontentDisposition(java.lang.String contentDisposition)ContainerObjectState.BuildercontentEncoding(com.pulumi.core.Output<java.lang.String> contentEncoding)ContainerObjectState.BuildercontentEncoding(java.lang.String contentEncoding)ContainerObjectState.BuildercontentLength(com.pulumi.core.Output<java.lang.Integer> contentLength)ContainerObjectState.BuildercontentLength(java.lang.Integer contentLength)ContainerObjectState.BuildercontentType(com.pulumi.core.Output<java.lang.String> contentType)ContainerObjectState.BuildercontentType(java.lang.String contentType)ContainerObjectState.BuildercopyFrom(com.pulumi.core.Output<java.lang.String> copyFrom)ContainerObjectState.BuildercopyFrom(java.lang.String copyFrom)ContainerObjectState.Builderdate(com.pulumi.core.Output<java.lang.String> date)ContainerObjectState.Builderdate(java.lang.String date)ContainerObjectState.BuilderdeleteAfter(com.pulumi.core.Output<java.lang.Integer> deleteAfter)ContainerObjectState.BuilderdeleteAfter(java.lang.Integer deleteAfter)ContainerObjectState.BuilderdeleteAt(com.pulumi.core.Output<java.lang.String> deleteAt)ContainerObjectState.BuilderdeleteAt(java.lang.String deleteAt)ContainerObjectState.BuilderdetectContentType(com.pulumi.core.Output<java.lang.Boolean> detectContentType)ContainerObjectState.BuilderdetectContentType(java.lang.Boolean detectContentType)ContainerObjectState.Builderetag(com.pulumi.core.Output<java.lang.String> etag)ContainerObjectState.Builderetag(java.lang.String etag)ContainerObjectState.BuilderlastModified(com.pulumi.core.Output<java.lang.String> lastModified)ContainerObjectState.BuilderlastModified(java.lang.String lastModified)ContainerObjectState.Buildermetadata(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> metadata)ContainerObjectState.Buildermetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)ContainerObjectState.Buildername(com.pulumi.core.Output<java.lang.String> name)ContainerObjectState.Buildername(java.lang.String name)ContainerObjectState.BuilderobjectManifest(com.pulumi.core.Output<java.lang.String> objectManifest)ContainerObjectState.BuilderobjectManifest(java.lang.String objectManifest)ContainerObjectState.Builderregion(com.pulumi.core.Output<java.lang.String> region)ContainerObjectState.Builderregion(java.lang.String region)ContainerObjectState.Buildersource(com.pulumi.core.Output<java.lang.String> source)ContainerObjectState.Buildersource(java.lang.String source)ContainerObjectState.BuildertransId(com.pulumi.core.Output<java.lang.String> transId)ContainerObjectState.BuildertransId(java.lang.String transId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ContainerObjectState defaults)
-
-
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)
-
metadata
public ContainerObjectState.Builder metadata(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
-
build
public ContainerObjectState build()
-
-