Class TopicSharedAccessKeysInner
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.TopicSharedAccessKeysInner
Shared access keys of the Topic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkey1()
Get the key1 property: Shared access key1 for the topic.key2()
Get the key2 property: Shared access key2 for the topic.void
validate()
Validates the instance.Set the key1 property: Shared access key1 for the topic.Set the key2 property: Shared access key2 for the topic.
-
Constructor Details
-
TopicSharedAccessKeysInner
public TopicSharedAccessKeysInner()
-
-
Method Details
-
key1
Get the key1 property: Shared access key1 for the topic.- Returns:
- the key1 value.
-
withKey1
Set the key1 property: Shared access key1 for the topic.- Parameters:
key1
- the key1 value to set.- Returns:
- the TopicSharedAccessKeysInner object itself.
-
key2
Get the key2 property: Shared access key2 for the topic.- Returns:
- the key2 value.
-
withKey2
Set the key2 property: Shared access key2 for the topic.- Parameters:
key2
- the key2 value to set.- Returns:
- the TopicSharedAccessKeysInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-