TopicUpdateParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.TopicUpdateParameters

public class TopicUpdateParameters

Properties of the Topic update.

Constructor Summary

Constructor Description
TopicUpdateParameters()

Method Summary

Modifier and Type Method and Description
IdentityInfo identity()

Get resource identity information.

java.util.List<InboundIpRule> inboundIpRules()

Get this can be used to restrict traffic from specific IPs instead of all IPs.

PublicNetworkAccess publicNetworkAccess()

Get this determines if traffic is allowed over public network.

ResourceSku sku()

Get the Sku pricing tier for the topic.

java.util.Map<java.lang.String,java.lang.String> tags()

Get tags of the resource.

TopicUpdateParameters withIdentity(IdentityInfo identity)

Set resource identity information.

TopicUpdateParameters withInboundIpRules(List<InboundIpRule> inboundIpRules)

Set this can be used to restrict traffic from specific IPs instead of all IPs.

TopicUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set this determines if traffic is allowed over public network.

TopicUpdateParameters withSku(ResourceSku sku)

Set the Sku pricing tier for the topic.

TopicUpdateParameters withTags(Map<String,String> tags)

Set tags of the resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TopicUpdateParameters

public TopicUpdateParameters()

Method Details

identity

public IdentityInfo identity()

Get resource identity information.

Returns:

the identity value

inboundIpRules

public List inboundIpRules()

Get 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 this determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'.

Returns:

the publicNetworkAccess value

sku

public ResourceSku sku()

Get the Sku pricing tier for the topic.

Returns:

the sku value

tags

public Map tags()

Get tags of the resource.

Returns:

the tags value

withIdentity

public TopicUpdateParameters withIdentity(IdentityInfo identity)

Set resource identity information.

Parameters:

identity - the identity value to set

Returns:

the TopicUpdateParameters object itself.

withInboundIpRules

public TopicUpdateParameters withInboundIpRules(List inboundIpRules)

Set 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 this determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set

Returns:

the TopicUpdateParameters object itself.

withSku

public TopicUpdateParameters withSku(ResourceSku sku)

Set the Sku pricing tier for the topic.

Parameters:

sku - the sku value to set

Returns:

the TopicUpdateParameters object itself.

withTags

public TopicUpdateParameters withTags(Map tags)

Set tags of the resource.

Parameters:

tags - the tags value to set

Returns:

the TopicUpdateParameters object itself.

Applies to