Class ContainerState.Builder

  • Enclosing class:
    ContainerState

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

      • Builder

        public Builder()
    • Method Detail

      • containerRead

        public ContainerState.Builder containerRead​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> containerRead)
        Parameters:
        containerRead - Sets an access control list (ACL) that grants read access. This header can contain a comma-delimited list of users that can read the container (allows the GET method for all objects in the container). Changing this updates the access control list read access.
        Returns:
        builder
      • containerRead

        public ContainerState.Builder containerRead​(java.lang.String containerRead)
        Parameters:
        containerRead - Sets an access control list (ACL) that grants read access. This header can contain a comma-delimited list of users that can read the container (allows the GET method for all objects in the container). Changing this updates the access control list read access.
        Returns:
        builder
      • containerSyncKey

        public ContainerState.Builder containerSyncKey​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> containerSyncKey)
        Parameters:
        containerSyncKey - The secret key for container synchronization. Changing this updates container synchronization.
        Returns:
        builder
      • containerSyncKey

        public ContainerState.Builder containerSyncKey​(java.lang.String containerSyncKey)
        Parameters:
        containerSyncKey - The secret key for container synchronization. Changing this updates container synchronization.
        Returns:
        builder
      • containerSyncTo

        public ContainerState.Builder containerSyncTo​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> containerSyncTo)
        Parameters:
        containerSyncTo - The destination for container synchronization. Changing this updates container synchronization.
        Returns:
        builder
      • containerSyncTo

        public ContainerState.Builder containerSyncTo​(java.lang.String containerSyncTo)
        Parameters:
        containerSyncTo - The destination for container synchronization. Changing this updates container synchronization.
        Returns:
        builder
      • containerWrite

        public ContainerState.Builder containerWrite​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> containerWrite)
        Parameters:
        containerWrite - Sets an ACL that grants write access. Changing this updates the access control list write access.
        Returns:
        builder
      • containerWrite

        public ContainerState.Builder containerWrite​(java.lang.String containerWrite)
        Parameters:
        containerWrite - Sets an ACL that grants write access. Changing this updates the access control list write access.
        Returns:
        builder
      • contentType

        public ContainerState.Builder contentType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> contentType)
        Parameters:
        contentType - The MIME type for the container. Changing this updates the MIME type.
        Returns:
        builder
      • contentType

        public ContainerState.Builder contentType​(java.lang.String contentType)
        Parameters:
        contentType - The MIME type for the container. Changing this updates the MIME type.
        Returns:
        builder
      • forceDestroy

        public ContainerState.Builder forceDestroy​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
        Parameters:
        forceDestroy - A boolean that indicates all objects should be deleted from the container so that the container can be destroyed without error. These objects are not recoverable.
        Returns:
        builder
      • forceDestroy

        public ContainerState.Builder forceDestroy​(java.lang.Boolean forceDestroy)
        Parameters:
        forceDestroy - A boolean that indicates all objects should be deleted from the container so that the container can be destroyed without error. These objects are not recoverable.
        Returns:
        builder
      • metadata

        public ContainerState.Builder metadata​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> metadata)
        Parameters:
        metadata - Custom key/value pairs to associate with the container. Changing this updates the existing container metadata.
        Returns:
        builder
      • metadata

        public ContainerState.Builder metadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
        Parameters:
        metadata - Custom key/value pairs to associate with the container. Changing this updates the existing container metadata.
        Returns:
        builder
      • name

        public ContainerState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the container. Changing this creates a new container.
        Returns:
        builder
      • name

        public ContainerState.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the container. Changing this creates a new container.
        Returns:
        builder
      • region

        public ContainerState.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 ContainerState.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
      • storagePolicy

        public ContainerState.Builder storagePolicy​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> storagePolicy)
        Parameters:
        storagePolicy - The storage policy to be used for the container. Changing this creates a new container.
        Returns:
        builder
      • storagePolicy

        public ContainerState.Builder storagePolicy​(java.lang.String storagePolicy)
        Parameters:
        storagePolicy - The storage policy to be used for the container. Changing this creates a new container.
        Returns:
        builder
      • versioning

        public ContainerState.Builder versioning​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> versioning)
        Parameters:
        versioning - A boolean that can enable or disable object versioning. The default value is `false`. To use this feature, your Swift version must be 2.24 or higher (as described in the [OpenStack Swift Ussuri release notes](https://docs.openstack.org/releasenotes/swift/ussuri.html#relnotes-2-24-0-stable-ussuri)), and a cloud administrator must have set the `allow_object_versioning = true` configuration option in Swift. If you cannot set this versioning type, you may want to consider using `versioning_legacy` instead.
        Returns:
        builder
      • versioning

        public ContainerState.Builder versioning​(java.lang.Boolean versioning)
        Parameters:
        versioning - A boolean that can enable or disable object versioning. The default value is `false`. To use this feature, your Swift version must be 2.24 or higher (as described in the [OpenStack Swift Ussuri release notes](https://docs.openstack.org/releasenotes/swift/ussuri.html#relnotes-2-24-0-stable-ussuri)), and a cloud administrator must have set the `allow_object_versioning = true` configuration option in Swift. If you cannot set this versioning type, you may want to consider using `versioning_legacy` instead.
        Returns:
        builder
      • versioningLegacy

        @Deprecated
        public ContainerState.Builder versioningLegacy​(@Nullable
                                                       com.pulumi.core.Output<ContainerVersioningLegacyArgs> versioningLegacy)
        Deprecated.
        Use newer "versioning" implementation
        Parameters:
        versioningLegacy - Enable legacy object versioning. The structure is described below.
        Returns:
        builder
      • versioningLegacy

        @Deprecated
        public ContainerState.Builder versioningLegacy​(ContainerVersioningLegacyArgs versioningLegacy)
        Deprecated.
        Use newer "versioning" implementation
        Parameters:
        versioningLegacy - Enable legacy object versioning. The structure is described below.
        Returns:
        builder