FederatedIdentityCredentialInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. msi. fluent. models. FederatedIdentityCredentialInner
- com.
- com.
public final class FederatedIdentityCredentialInner
extends ProxyResource
Describes a federated identity credential.
Constructor Summary
Constructor | Description |
---|---|
FederatedIdentityCredentialInner() |
Creates an instance of Federated |
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
Federated |
fromJson(JsonReader jsonReader)
Reads an instance of Federated |
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. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Federated |
withAudiences(List<String> audiences)
Set the audiences property: The list of audiences that can appear in the issued token. |
Federated |
withIssuer(String issuer)
Set the issuer property: The URL of the issuer to be trusted. |
Federated |
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
Get the audiences property: The list of audiences that can appear in the issued token.
Returns:
fromJson
public static FederatedIdentityCredentialInner fromJson(JsonReader jsonReader)
Reads an instance of FederatedIdentityCredentialInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
FederatedIdentityCredentialInner.id()Returns:
issuer
public String issuer()
Get the issuer property: The URL of the issuer to be trusted.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
FederatedIdentityCredentialInner.name()Returns:
subject
public String subject()
Get the subject property: The identifier of the external identity.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FederatedIdentityCredentialInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
FederatedIdentityCredentialInner.type()Returns:
validate
public void validate()
Validates the instance.
withAudiences
public FederatedIdentityCredentialInner withAudiences(List
Set the audiences property: The list of audiences that can appear in the issued token.
Parameters:
Returns:
withIssuer
public FederatedIdentityCredentialInner withIssuer(String issuer)
Set the issuer property: The URL of the issuer to be trusted.
Parameters:
Returns:
withSubject
public FederatedIdentityCredentialInner withSubject(String subject)
Set the subject property: The identifier of the external identity.
Parameters:
Returns:
Applies to
Azure SDK for Java