Class EndpointDependency


  • public final class EndpointDependency
    extends Object
    A domain name that dedicated hsm services are reaching at.
    • Constructor Detail

      • EndpointDependency

        public EndpointDependency()
    • Method Detail

      • domainName

        public String domainName()
        Get the domainName property: The domain name of the dependency.
        Returns:
        the domainName value.
      • withDomainName

        public EndpointDependency withDomainName​(String domainName)
        Set the domainName property: The domain name of the dependency.
        Parameters:
        domainName - the domainName value to set.
        Returns:
        the EndpointDependency object itself.
      • endpointDetails

        public List<EndpointDetail> endpointDetails()
        Get the endpointDetails property: The Ports and Protocols used when connecting to domainName.
        Returns:
        the endpointDetails value.
      • withEndpointDetails

        public EndpointDependency withEndpointDetails​(List<EndpointDetail> endpointDetails)
        Set the endpointDetails property: The Ports and Protocols used when connecting to domainName.
        Parameters:
        endpointDetails - the endpointDetails value to set.
        Returns:
        the EndpointDependency object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.