
com.pulumi.azurenative.managedidentity.outputs.GetFederatedIdentityCredentialResult Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.managedidentity.outputs;
import com.pulumi.azurenative.managedidentity.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetFederatedIdentityCredentialResult {
/**
* @return The list of audiences that can appear in the issued token.
*
*/
private List audiences;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The URL of the issuer to be trusted.
*
*/
private String issuer;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The identifier of the external identity.
*
*/
private String subject;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetFederatedIdentityCredentialResult() {}
/**
* @return The list of audiences that can appear in the issued token.
*
*/
public List audiences() {
return this.audiences;
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The URL of the issuer to be trusted.
*
*/
public String issuer() {
return this.issuer;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The identifier of the external identity.
*
*/
public String subject() {
return this.subject;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFederatedIdentityCredentialResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List audiences;
private String id;
private String issuer;
private String name;
private String subject;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetFederatedIdentityCredentialResult defaults) {
Objects.requireNonNull(defaults);
this.audiences = defaults.audiences;
this.id = defaults.id;
this.issuer = defaults.issuer;
this.name = defaults.name;
this.subject = defaults.subject;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder audiences(List audiences) {
if (audiences == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "audiences");
}
this.audiences = audiences;
return this;
}
public Builder audiences(String... audiences) {
return audiences(List.of(audiences));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder issuer(String issuer) {
if (issuer == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "issuer");
}
this.issuer = issuer;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder subject(String subject) {
if (subject == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "subject");
}
this.subject = subject;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetFederatedIdentityCredentialResult", "type");
}
this.type = type;
return this;
}
public GetFederatedIdentityCredentialResult build() {
final var _resultValue = new GetFederatedIdentityCredentialResult();
_resultValue.audiences = audiences;
_resultValue.id = id;
_resultValue.issuer = issuer;
_resultValue.name = name;
_resultValue.subject = subject;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy