Class UpdateBastionDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • maxSessionTtlInSeconds

        public UpdateBastionDetails.Builder maxSessionTtlInSeconds​(Integer maxSessionTtlInSeconds)
        The maximum amount of time that any session on the bastion can remain active.
        Parameters:
        maxSessionTtlInSeconds - the value to set
        Returns:
        this builder
      • staticJumpHostIpAddresses

        public UpdateBastionDetails.Builder staticJumpHostIpAddresses​(List<String> staticJumpHostIpAddresses)
        A list of IP addresses of the hosts that the bastion has access to.

        Not applicable to standard bastions.

        Parameters:
        staticJumpHostIpAddresses - the value to set
        Returns:
        this builder
      • clientCidrBlockAllowList

        public UpdateBastionDetails.Builder clientCidrBlockAllowList​(List<String> clientCidrBlockAllowList)
        A list of address ranges in CIDR notation that you want to allow to connect to sessions hosted by this bastion.
        Parameters:
        clientCidrBlockAllowList - the value to set
        Returns:
        this builder
      • freeformTags

        public UpdateBastionDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public UpdateBastionDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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