Class ContainerCreateUpdateParameters


  • public class ContainerCreateUpdateParameters
    extends Object
    Parameters to create and update Cosmos DB container.
    • Constructor Detail

      • ContainerCreateUpdateParameters

        public ContainerCreateUpdateParameters()
    • Method Detail

      • resource

        public ContainerResource resource()
        Get the standard JSON format of a container.
        Returns:
        the resource value
      • withResource

        public ContainerCreateUpdateParameters withResource​(ContainerResource resource)
        Set the standard JSON format of a container.
        Parameters:
        resource - the resource value to set
        Returns:
        the ContainerCreateUpdateParameters object itself.
      • options

        public Map<String,​String> options()
        Get a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
        Returns:
        the options value
      • withOptions

        public ContainerCreateUpdateParameters withOptions​(Map<String,​String> options)
        Set a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
        Parameters:
        options - the options value to set
        Returns:
        the ContainerCreateUpdateParameters object itself.