public final class KeyCredentialInner extends Object
| Constructor and Description |
|---|
KeyCredentialInner() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Active Directory Key Credential information.
|
String |
customKeyIdentifier()
Get the customKeyIdentifier property: Custom Key Identifier.
|
OffsetDateTime |
endDate()
Get the endDate property: End date.
|
String |
keyId()
Get the keyId property: Key ID.
|
OffsetDateTime |
startDate()
Get the startDate property: Start date.
|
String |
type()
Get the type property: Type.
|
String |
usage()
Get the usage property: Usage.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: Key value.
|
KeyCredentialInner |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Active Directory Key Credential information.
|
KeyCredentialInner |
withCustomKeyIdentifier(String customKeyIdentifier)
Set the customKeyIdentifier property: Custom Key Identifier.
|
KeyCredentialInner |
withEndDate(OffsetDateTime endDate)
Set the endDate property: End date.
|
KeyCredentialInner |
withKeyId(String keyId)
Set the keyId property: Key ID.
|
KeyCredentialInner |
withStartDate(OffsetDateTime startDate)
Set the startDate property: Start date.
|
KeyCredentialInner |
withType(String type)
Set the type property: Type.
|
KeyCredentialInner |
withUsage(String usage)
Set the usage property: Usage.
|
KeyCredentialInner |
withValue(String value)
Set the value property: Key value.
|
public OffsetDateTime startDate()
public KeyCredentialInner withStartDate(OffsetDateTime startDate)
startDate - the startDate value to set.public OffsetDateTime endDate()
public KeyCredentialInner withEndDate(OffsetDateTime endDate)
endDate - the endDate value to set.public String value()
public KeyCredentialInner withValue(String value)
value - the value value to set.public String keyId()
public KeyCredentialInner withKeyId(String keyId)
keyId - the keyId value to set.public String usage()
public KeyCredentialInner withUsage(String usage)
usage - the usage value to set.public String type()
public KeyCredentialInner withType(String type)
type - the type value to set.public String customKeyIdentifier()
public KeyCredentialInner withCustomKeyIdentifier(String customKeyIdentifier)
customKeyIdentifier - the customKeyIdentifier value to set.public Map<String,Object> additionalProperties()
public KeyCredentialInner withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - the additionalProperties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.