TopicSharedAccessKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.fluent.models.TopicSharedAccessKeysInner

public final class TopicSharedAccessKeysInner

Shared access keys of the Topic.

Constructor Summary

Constructor Description
TopicSharedAccessKeysInner()

Method Summary

Modifier and Type Method and Description
String key1()

Get the key1 property: Shared access key1 for the topic.

String key2()

Get the key2 property: Shared access key2 for the topic.

void validate()

Validates the instance.

TopicSharedAccessKeysInner withKey1(String key1)

Set the key1 property: Shared access key1 for the topic.

TopicSharedAccessKeysInner withKey2(String key2)

Set the key2 property: Shared access key2 for the topic.

Methods inherited from java.lang.Object

Constructor Details

TopicSharedAccessKeysInner

public TopicSharedAccessKeysInner()

Method Details

key1

public String key1()

Get the key1 property: Shared access key1 for the topic.

Returns:

the key1 value.

key2

public String key2()

Get the key2 property: Shared access key2 for the topic.

Returns:

the key2 value.

validate

public void validate()

Validates the instance.

withKey1

public TopicSharedAccessKeysInner withKey1(String key1)

Set the key1 property: Shared access key1 for the topic.

Parameters:

key1 - the key1 value to set.

Returns:

the TopicSharedAccessKeysInner object itself.

withKey2

public TopicSharedAccessKeysInner withKey2(String key2)

Set the key2 property: Shared access key2 for the topic.

Parameters:

key2 - the key2 value to set.

Returns:

the TopicSharedAccessKeysInner object itself.

Applies to

Azure SDK for Java

Latest