Class OutboundEnvironmentEndpointInner
- java.lang.Object
-
- com.azure.resourcemanager.hardwaresecuritymodules.fluent.models.OutboundEnvironmentEndpointInner
-
public final class OutboundEnvironmentEndpointInner extends Object
Egress endpoints which dedicated hsm service connects to for common purpose.
-
-
Constructor Summary
Constructors Constructor Description OutboundEnvironmentEndpointInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
category()
Get the category property: The category of endpoints accessed by the dedicated hsm service, e.g.List<EndpointDependency>
endpoints()
Get the endpoints property: The endpoints that dedicated hsm service connects to.void
validate()
Validates the instance.OutboundEnvironmentEndpointInner
withCategory(String category)
Set the category property: The category of endpoints accessed by the dedicated hsm service, e.g.OutboundEnvironmentEndpointInner
withEndpoints(List<EndpointDependency> endpoints)
Set the endpoints property: The endpoints that dedicated hsm service connects to.
-
-
-
Method Detail
-
category
public String category()
Get the category property: The category of endpoints accessed by the dedicated hsm service, e.g. azure-resource-management, apiserver, etc.- Returns:
- the category value.
-
withCategory
public OutboundEnvironmentEndpointInner withCategory(String category)
Set the category property: The category of endpoints accessed by the dedicated hsm service, e.g. azure-resource-management, apiserver, etc.- Parameters:
category
- the category value to set.- Returns:
- the OutboundEnvironmentEndpointInner object itself.
-
endpoints
public List<EndpointDependency> endpoints()
Get the endpoints property: The endpoints that dedicated hsm service connects to.- Returns:
- the endpoints value.
-
withEndpoints
public OutboundEnvironmentEndpointInner withEndpoints(List<EndpointDependency> endpoints)
Set the endpoints property: The endpoints that dedicated hsm service connects to.- Parameters:
endpoints
- the endpoints value to set.- Returns:
- the OutboundEnvironmentEndpointInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-