AfdEndpointUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.AfdEndpointUpdateParameters

public final class AfdEndpointUpdateParameters

Properties required to create or update an endpoint.

Constructor Summary

Constructor Description
AfdEndpointUpdateParameters()

Creates an instance of AfdEndpointUpdateParameters class.

Method Summary

Modifier and Type Method and Description
EnabledState enabledState()

Get the enabledState property: Whether to enable use of this rule.

String profileName()

Get the profileName property: The name of the profile which holds the endpoint.

Map<String,String> tags()

Get the tags property: Endpoint tags.

void validate()

Validates the instance.

AfdEndpointUpdateParameters withEnabledState(EnabledState enabledState)

Set the enabledState property: Whether to enable use of this rule.

AfdEndpointUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Endpoint tags.

Methods inherited from java.lang.Object

Constructor Details

AfdEndpointUpdateParameters

public AfdEndpointUpdateParameters()

Creates an instance of AfdEndpointUpdateParameters class.

Method Details

enabledState

public EnabledState enabledState()

Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.

Returns:

the enabledState value.

profileName

public String profileName()

Get the profileName property: The name of the profile which holds the endpoint.

Returns:

the profileName value.

tags

public Map tags()

Get the tags property: Endpoint tags.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withEnabledState

public AfdEndpointUpdateParameters withEnabledState(EnabledState enabledState)

Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.

Parameters:

enabledState - the enabledState value to set.

Returns:

the AfdEndpointUpdateParameters object itself.

withTags

public AfdEndpointUpdateParameters withTags(Map tags)

Set the tags property: Endpoint tags.

Parameters:

tags - the tags value to set.

Returns:

the AfdEndpointUpdateParameters object itself.

Applies to