Class SessionSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public SessionSummary.Builder id​(String id)
        The unique identifier (OCID) of the session, which can’t be changed after creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public SessionSummary.Builder displayName​(String displayName)
        The name of the session.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • bastionName

        public SessionSummary.Builder bastionName​(String bastionName)
        The name of the bastion that is hosting this session.
        Parameters:
        bastionName - the value to set
        Returns:
        this builder
      • bastionId

        public SessionSummary.Builder bastionId​(String bastionId)
        The unique identifier (OCID) of the bastion that is hosting this session.
        Parameters:
        bastionId - the value to set
        Returns:
        this builder
      • timeCreated

        public SessionSummary.Builder timeCreated​(Date timeCreated)
        The time the session was created.

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

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

        public SessionSummary.Builder timeUpdated​(Date timeUpdated)
        The time the session was updated.

        Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

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

        public SessionSummary.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current session state in more detail.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • sessionTtlInSeconds

        public SessionSummary.Builder sessionTtlInSeconds​(Integer sessionTtlInSeconds)
        The amount of time the session can remain active.
        Parameters:
        sessionTtlInSeconds - the value to set
        Returns:
        this builder