Class ProfileProperties
java.lang.Object
com.azure.resourcemanager.trafficmanager.fluent.models.ProfileProperties
Class representing the Traffic Manager profile properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedEndpointRecordTypes property: The list of allowed endpoint record types.Get the dnsConfig property: The DNS settings of the Traffic Manager profile.Get the endpoints property: The list of endpoints in the Traffic Manager profile.Get the maxReturn property: Maximum number of endpoints to be returned for MultiValue routing type.Get the monitorConfig property: The endpoint monitoring settings of the Traffic Manager profile.Get the profileStatus property: The status of the Traffic Manager profile.Get the trafficRoutingMethod property: The traffic routing method of the Traffic Manager profile.Get the trafficViewEnrollmentStatus property: Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile.voidvalidate()Validates the instance.withAllowedEndpointRecordTypes(List<AllowedEndpointRecordType> allowedEndpointRecordTypes) Set the allowedEndpointRecordTypes property: The list of allowed endpoint record types.withDnsConfig(DnsConfig dnsConfig) Set the dnsConfig property: The DNS settings of the Traffic Manager profile.withEndpoints(List<EndpointInner> endpoints) Set the endpoints property: The list of endpoints in the Traffic Manager profile.withMaxReturn(Long maxReturn) Set the maxReturn property: Maximum number of endpoints to be returned for MultiValue routing type.withMonitorConfig(MonitorConfig monitorConfig) Set the monitorConfig property: The endpoint monitoring settings of the Traffic Manager profile.withProfileStatus(ProfileStatus profileStatus) Set the profileStatus property: The status of the Traffic Manager profile.withTrafficRoutingMethod(TrafficRoutingMethod trafficRoutingMethod) Set the trafficRoutingMethod property: The traffic routing method of the Traffic Manager profile.withTrafficViewEnrollmentStatus(TrafficViewEnrollmentStatus trafficViewEnrollmentStatus) Set the trafficViewEnrollmentStatus property: Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile.
-
Constructor Details
-
ProfileProperties
public ProfileProperties()Creates an instance of ProfileProperties class.
-
-
Method Details
-
profileStatus
Get the profileStatus property: The status of the Traffic Manager profile.- Returns:
- the profileStatus value.
-
withProfileStatus
Set the profileStatus property: The status of the Traffic Manager profile.- Parameters:
profileStatus- the profileStatus value to set.- Returns:
- the ProfileProperties object itself.
-
trafficRoutingMethod
Get the trafficRoutingMethod property: The traffic routing method of the Traffic Manager profile.- Returns:
- the trafficRoutingMethod value.
-
withTrafficRoutingMethod
Set the trafficRoutingMethod property: The traffic routing method of the Traffic Manager profile.- Parameters:
trafficRoutingMethod- the trafficRoutingMethod value to set.- Returns:
- the ProfileProperties object itself.
-
dnsConfig
Get the dnsConfig property: The DNS settings of the Traffic Manager profile.- Returns:
- the dnsConfig value.
-
withDnsConfig
Set the dnsConfig property: The DNS settings of the Traffic Manager profile.- Parameters:
dnsConfig- the dnsConfig value to set.- Returns:
- the ProfileProperties object itself.
-
monitorConfig
Get the monitorConfig property: The endpoint monitoring settings of the Traffic Manager profile.- Returns:
- the monitorConfig value.
-
withMonitorConfig
Set the monitorConfig property: The endpoint monitoring settings of the Traffic Manager profile.- Parameters:
monitorConfig- the monitorConfig value to set.- Returns:
- the ProfileProperties object itself.
-
endpoints
Get the endpoints property: The list of endpoints in the Traffic Manager profile.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: The list of endpoints in the Traffic Manager profile.- Parameters:
endpoints- the endpoints value to set.- Returns:
- the ProfileProperties object itself.
-
trafficViewEnrollmentStatus
Get the trafficViewEnrollmentStatus property: Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.- Returns:
- the trafficViewEnrollmentStatus value.
-
withTrafficViewEnrollmentStatus
public ProfileProperties withTrafficViewEnrollmentStatus(TrafficViewEnrollmentStatus trafficViewEnrollmentStatus) Set the trafficViewEnrollmentStatus property: Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.- Parameters:
trafficViewEnrollmentStatus- the trafficViewEnrollmentStatus value to set.- Returns:
- the ProfileProperties object itself.
-
allowedEndpointRecordTypes
Get the allowedEndpointRecordTypes property: The list of allowed endpoint record types.- Returns:
- the allowedEndpointRecordTypes value.
-
withAllowedEndpointRecordTypes
public ProfileProperties withAllowedEndpointRecordTypes(List<AllowedEndpointRecordType> allowedEndpointRecordTypes) Set the allowedEndpointRecordTypes property: The list of allowed endpoint record types.- Parameters:
allowedEndpointRecordTypes- the allowedEndpointRecordTypes value to set.- Returns:
- the ProfileProperties object itself.
-
maxReturn
Get the maxReturn property: Maximum number of endpoints to be returned for MultiValue routing type.- Returns:
- the maxReturn value.
-
withMaxReturn
Set the maxReturn property: Maximum number of endpoints to be returned for MultiValue routing type.- Parameters:
maxReturn- the maxReturn value to set.- Returns:
- the ProfileProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-