Class DomainSharedAccessKeysInner
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.fluent.models.DomainSharedAccessKeysInner
-
public final class DomainSharedAccessKeysInner extends Object
Shared access keys of the Domain.
-
-
Constructor Summary
Constructors Constructor Description DomainSharedAccessKeysInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkey1()Get the key1 property: Shared access key1 for the domain.Stringkey2()Get the key2 property: Shared access key2 for the domain.voidvalidate()Validates the instance.DomainSharedAccessKeysInnerwithKey1(String key1)Set the key1 property: Shared access key1 for the domain.DomainSharedAccessKeysInnerwithKey2(String key2)Set the key2 property: Shared access key2 for the domain.
-
-
-
Method Detail
-
key1
public String key1()
Get the key1 property: Shared access key1 for the domain.- Returns:
- the key1 value.
-
withKey1
public DomainSharedAccessKeysInner withKey1(String key1)
Set the key1 property: Shared access key1 for the domain.- Parameters:
key1- the key1 value to set.- Returns:
- the DomainSharedAccessKeysInner object itself.
-
key2
public String key2()
Get the key2 property: Shared access key2 for the domain.- Returns:
- the key2 value.
-
withKey2
public DomainSharedAccessKeysInner withKey2(String key2)
Set the key2 property: Shared access key2 for the domain.- Parameters:
key2- the key2 value to set.- Returns:
- the DomainSharedAccessKeysInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-