MicrosoftGraphAlternativeSecurityId Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphAlternativeSecurityId

Implements

public final class MicrosoftGraphAlternativeSecurityId
implements JsonSerializable<MicrosoftGraphAlternativeSecurityId>

alternativeSecurityId.

Constructor Summary

Constructor Description
MicrosoftGraphAlternativeSecurityId()

Creates an instance of MicrosoftGraphAlternativeSecurityId class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: alternativeSecurityId.

static MicrosoftGraphAlternativeSecurityId fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAlternativeSecurityId from the JsonReader.

String identityProvider()

Get the identityProvider property: For internal use only.

byte[] key()

Get the key property: For internal use only.

JsonWriter toJson(JsonWriter jsonWriter)
Integer type()

Get the type property: For internal use only.

void validate()

Validates the instance.

MicrosoftGraphAlternativeSecurityId withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: alternativeSecurityId.

MicrosoftGraphAlternativeSecurityId withIdentityProvider(String identityProvider)

Set the identityProvider property: For internal use only.

MicrosoftGraphAlternativeSecurityId withKey(byte[] key)

Set the key property: For internal use only.

MicrosoftGraphAlternativeSecurityId withType(Integer type)

Set the type property: For internal use only.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphAlternativeSecurityId

public MicrosoftGraphAlternativeSecurityId()

Creates an instance of MicrosoftGraphAlternativeSecurityId class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: alternativeSecurityId.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphAlternativeSecurityId fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphAlternativeSecurityId from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphAlternativeSecurityId if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphAlternativeSecurityId.

identityProvider

public String identityProvider()

Get the identityProvider property: For internal use only.

Returns:

the identityProvider value.

key

public byte[] key()

Get the key property: For internal use only.

Returns:

the key value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public Integer type()

Get the type property: For internal use only.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphAlternativeSecurityId withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: alternativeSecurityId.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphAlternativeSecurityId object itself.

withIdentityProvider

public MicrosoftGraphAlternativeSecurityId withIdentityProvider(String identityProvider)

Set the identityProvider property: For internal use only.

Parameters:

identityProvider - the identityProvider value to set.

Returns:

the MicrosoftGraphAlternativeSecurityId object itself.

withKey

public MicrosoftGraphAlternativeSecurityId withKey(byte[] key)

Set the key property: For internal use only.

Parameters:

key - the key value to set.

Returns:

the MicrosoftGraphAlternativeSecurityId object itself.

withType

public MicrosoftGraphAlternativeSecurityId withType(Integer type)

Set the type property: For internal use only.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphAlternativeSecurityId object itself.

Applies to