Class EndpointDependency
- java.lang.Object
-
- com.azure.resourcemanager.hardwaresecuritymodules.models.EndpointDependency
-
public final class EndpointDependency extends Object
A domain name that dedicated hsm services are reaching at.
-
-
Constructor Summary
Constructors Constructor Description EndpointDependency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
domainName()
Get the domainName property: The domain name of the dependency.List<EndpointDetail>
endpointDetails()
Get the endpointDetails property: The Ports and Protocols used when connecting to domainName.void
validate()
Validates the instance.EndpointDependency
withDomainName(String domainName)
Set the domainName property: The domain name of the dependency.EndpointDependency
withEndpointDetails(List<EndpointDetail> endpointDetails)
Set the endpointDetails property: The Ports and Protocols used when connecting to domainName.
-
-
-
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.
-
-