Package org.keycloak.credential
Class CredentialTypeMetadata.CredentialTypeMetadataBuilder
- java.lang.Object
-
- org.keycloak.credential.CredentialTypeMetadata.CredentialTypeMetadataBuilder
-
- Enclosing class:
- CredentialTypeMetadata
public static class CredentialTypeMetadata.CredentialTypeMetadataBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description CredentialTypeMetadataBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialTypeMetadata
build(KeycloakSession session)
This will validate metadata and return themCredentialTypeMetadata.CredentialTypeMetadataBuilder
category(CredentialTypeMetadata.Category category)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
createAction(String createAction)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
displayName(String displayName)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
helpText(String helpText)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
iconCssClass(String iconCssClass)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
removeable(boolean removeable)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
type(String type)
CredentialTypeMetadata.CredentialTypeMetadataBuilder
updateAction(String updateAction)
-
-
-
Method Detail
-
type
public CredentialTypeMetadata.CredentialTypeMetadataBuilder type(String type)
-
displayName
public CredentialTypeMetadata.CredentialTypeMetadataBuilder displayName(String displayName)
-
helpText
public CredentialTypeMetadata.CredentialTypeMetadataBuilder helpText(String helpText)
-
iconCssClass
public CredentialTypeMetadata.CredentialTypeMetadataBuilder iconCssClass(String iconCssClass)
-
createAction
public CredentialTypeMetadata.CredentialTypeMetadataBuilder createAction(String createAction)
-
updateAction
public CredentialTypeMetadata.CredentialTypeMetadataBuilder updateAction(String updateAction)
-
removeable
public CredentialTypeMetadata.CredentialTypeMetadataBuilder removeable(boolean removeable)
-
category
public CredentialTypeMetadata.CredentialTypeMetadataBuilder category(CredentialTypeMetadata.Category category)
-
build
public CredentialTypeMetadata build(KeycloakSession session)
This will validate metadata and return them- Returns:
- metadata
-
-