TopicUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.TopicUpdateParameters

public final class TopicUpdateParameters

Properties of the Topic update.

Constructor Summary

Constructor Description
TopicUpdateParameters()

Method Summary

Modifier and Type Method and Description
Boolean disableLocalAuth()

Get the disableLocalAuth property: This boolean is used to enable or disable local auth.

IdentityInfo identity()

Get the identity property: Topic resource identity information.

List<InboundIpRule> inboundIpRules()

Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network.

Map<String,String> tags()

Get the tags property: Tags of the resource.

void validate()

Validates the instance.

TopicUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This boolean is used to enable or disable local auth.

TopicUpdateParameters withIdentity(IdentityInfo identity)

Set the identity property: Topic resource identity information.

TopicUpdateParameters withInboundIpRules(List<InboundIpRule> inboundIpRules)

Set the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs.

TopicUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network.

TopicUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the resource.

Methods inherited from java.lang.Object

Constructor Details

TopicUpdateParameters

public TopicUpdateParameters()

Method Details

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.

Returns:

the disableLocalAuth value.

identity

public IdentityInfo identity()

Get the identity property: Topic resource identity information.

Returns:

the identity value.

inboundIpRules

public List inboundIpRules()

Get the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.

Returns:

the inboundIpRules value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring .

Returns:

the publicNetworkAccess value.

tags

public Map tags()

Get the tags property: Tags of the resource.

Returns:

the tags value.

validate

public void validate()

Validates the instance.

withDisableLocalAuth

public TopicUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.

Parameters:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the TopicUpdateParameters object itself.

withIdentity

public TopicUpdateParameters withIdentity(IdentityInfo identity)

Set the identity property: Topic resource identity information.

Parameters:

identity - the identity value to set.

Returns:

the TopicUpdateParameters object itself.

withInboundIpRules

public TopicUpdateParameters withInboundIpRules(List inboundIpRules)

Set the inboundIpRules property: This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.

Parameters:

inboundIpRules - the inboundIpRules value to set.

Returns:

the TopicUpdateParameters object itself.

withPublicNetworkAccess

public TopicUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring .

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the TopicUpdateParameters object itself.

withTags

public TopicUpdateParameters withTags(Map tags)

Set the tags property: Tags of the resource.

Parameters:

tags - the tags value to set.

Returns:

the TopicUpdateParameters object itself.

Applies to