Class HsmPartition.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public HsmPartition.Builder id​(String id)
        The OCID of the HSM resource.

        Each HSM resource has a unique OCID as an identifier.

        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public HsmPartition.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains a particular HSM resource.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • portInformation

        public HsmPartition.Builder portInformation​(List<PortInformation> portInformation)
        Details of a single portInformation item include the PortNumber (an integer used as an identifier) and the PortType (refers to either an enum value of Managementutility,Clientutility, or null)
        Parameters:
        portInformation - the value to set
        Returns:
        this builder
      • timeCreated

        public HsmPartition.Builder timeCreated​(Date timeCreated)
        The date and time a HSMPartition was created, expressed in RFC 3339 timestamp format.

        Example: 2018-04-03T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public HsmPartition.Builder timeUpdated​(Date timeUpdated)
        The date and time a HSMPartition was updated, expressed in RFC 3339 timestamp format.

        Example: 2018-04-03T21:10:29.600Z

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public HsmPartition.Builder lifecycleState​(HsmPartition.LifecycleState lifecycleState)
        A HSMCluster resource’s current lifecycle state.

        Example: ACTIVE

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder