FederatedIdentityCredentialInner Class

public final class FederatedIdentityCredentialInner
extends ProxyResource

Describes a federated identity credential.

Constructor Summary

Constructor Description
FederatedIdentityCredentialInner()

Creates an instance of FederatedIdentityCredentialInner class.

Method Summary

Modifier and Type Method and Description
List<String> audiences()

Get the audiences property: The list of audiences that can appear in the issued token.

static FederatedIdentityCredentialInner fromJson(JsonReader jsonReader)

Reads an instance of FederatedIdentityCredentialInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String issuer()

Get the issuer property: The URL of the issuer to be trusted.

String name()

Get the name property: The name of the resource.

String subject()

Get the subject property: The identifier of the external identity.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

FederatedIdentityCredentialInner withAudiences(List<String> audiences)

Set the audiences property: The list of audiences that can appear in the issued token.

FederatedIdentityCredentialInner withIssuer(String issuer)

Set the issuer property: The URL of the issuer to be trusted.

FederatedIdentityCredentialInner withSubject(String subject)

Set the subject property: The identifier of the external identity.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

FederatedIdentityCredentialInner

public FederatedIdentityCredentialInner()

Creates an instance of FederatedIdentityCredentialInner class.

Method Details

audiences

public List audiences()

Get the audiences property: The list of audiences that can appear in the issued token.

Returns:

the audiences value.

fromJson

public static FederatedIdentityCredentialInner fromJson(JsonReader jsonReader)

Reads an instance of FederatedIdentityCredentialInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

FederatedIdentityCredentialInner.id()

Returns:

the id value.

issuer

public String issuer()

Get the issuer property: The URL of the issuer to be trusted.

Returns:

the issuer value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

FederatedIdentityCredentialInner.name()

Returns:

the name value.

subject

public String subject()

Get the subject property: The identifier of the external identity.

Returns:

the subject value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FederatedIdentityCredentialInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

FederatedIdentityCredentialInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAudiences

public FederatedIdentityCredentialInner withAudiences(List audiences)

Set the audiences property: The list of audiences that can appear in the issued token.

Parameters:

audiences - the audiences value to set.

Returns:

the FederatedIdentityCredentialInner object itself.

withIssuer

public FederatedIdentityCredentialInner withIssuer(String issuer)

Set the issuer property: The URL of the issuer to be trusted.

Parameters:

issuer - the issuer value to set.

Returns:

the FederatedIdentityCredentialInner object itself.

withSubject

public FederatedIdentityCredentialInner withSubject(String subject)

Set the subject property: The identifier of the external identity.

Parameters:

subject - the subject value to set.

Returns:

the FederatedIdentityCredentialInner object itself.

Applies to