public class AuthConfigFactor extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static AuthConfigFactor |
create(FssApiVersion apiVersion,
java.lang.String id,
java.lang.String providerId,
ProviderType providerType,
java.lang.String name,
AuthConfigFactorType type,
java.lang.Long priority) |
static java.lang.Class<? extends AuthConfigFactor> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the AuthConfigFactor that corresponds to the specified
apiVersion. |
java.lang.String |
getId()
Gets the factor id
|
java.lang.String |
getName()
Gets the factor name
|
java.lang.Long |
getPriority()
Gets the factor priority
|
java.lang.String |
getProviderId()
Gets the corresponding provider id
|
ProviderType |
getProviderType()
Gets the corresponding provider type
|
AuthConfigFactorType |
getType()
Gets the factor type
|
boolean |
isActiveDirectory()
Returns whether the provider type is AD
|
boolean |
isSAML()
Returns whether the provider type is SAML
|
protected void |
validate(java.lang.String fieldName,
BaseFssApiResource parent)
Validates this object.
|
badValue, badValue, fromJson, toJson, toJson, toString, validate, validateFieldInRange, validateFieldInRange, validateFieldIsNull, validateFieldNotNull, validateLocale, validateOptionalField, validateOptionalFieldList, validateRequiredField, validateRequiredFieldList, writeToOutputStreampublic static java.lang.Class<? extends AuthConfigFactor> getFssApiClass(FssApiVersion apiVersion)
Class of the AuthConfigFactor that corresponds to the specified
apiVersion.apiVersion - API version of the class to be returnedClass of the AuthConfigFactor that corresponds to the specified
apiVersionpublic static AuthConfigFactor create(FssApiVersion apiVersion, java.lang.String id, java.lang.String providerId, ProviderType providerType, java.lang.String name, AuthConfigFactorType type, java.lang.Long priority) throws AwUnsupportedApiVersionException
apiVersion - AwUnsupportedApiVersionExceptionpublic java.lang.String getId()
public java.lang.String getProviderId()
public ProviderType getProviderType()
public java.lang.String getName()
public AuthConfigFactorType getType()
public java.lang.Long getPriority()
public boolean isActiveDirectory()
public boolean isSAML()
protected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
validate in class BaseFssApiResourcefieldName - name of this object in the parent (containing) object. If this object is a
top-level object (not contained within another object), then enter null for this
parameterparent - parent (containing) object that contains the object specified in the fieldName
parameter. If this object is a top-level object (not contained within another
object), then enter null for this parameterAwJsonException - if any validation errors occurBaseFssApiResource.validate(String, BaseFssApiResource)