public class HSMComponent extends Object
| Constructor and Description |
|---|
HSMComponent() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAddSecurityRecommendation() |
List<HSMComponentButton> |
getButtons() |
List<HSMComponentCard> |
getCards() |
Integer |
getCodeExpirationMinutes() |
HSMExample |
getExample() |
HSMComponentFormat |
getFormat() |
Boolean |
getHasExpiration() |
String |
getText() |
HSMComponentType |
getType() |
void |
setAddSecurityRecommendation(Boolean addSecurityRecommendation) |
void |
setButtons(List<HSMComponentButton> buttons) |
void |
setCards(List<HSMComponentCard> cards) |
void |
setCodeExpirationMinutes(Integer codeExpirationMinutes) |
void |
setExample(HSMExample example) |
void |
setFormat(HSMComponentFormat format) |
void |
setHasExpiration(Boolean hasExpiration) |
void |
setText(String text) |
void |
setType(HSMComponentType type) |
String |
toString() |
void |
validateComponent()
Check if this component is valid.
|
public HSMComponentType getType()
public void setType(HSMComponentType type)
public HSMComponentFormat getFormat()
public void setFormat(HSMComponentFormat format)
public String getText()
public void setText(String text)
public List<HSMComponentButton> getButtons()
public void setButtons(List<HSMComponentButton> buttons)
public List<HSMComponentCard> getCards()
public void setCards(List<HSMComponentCard> cards)
public HSMExample getExample()
public void setExample(HSMExample example)
public Boolean getAddSecurityRecommendation()
public void setAddSecurityRecommendation(Boolean addSecurityRecommendation)
public Integer getCodeExpirationMinutes()
public void setCodeExpirationMinutes(Integer codeExpirationMinutes)
public Boolean getHasExpiration()
public void setHasExpiration(Boolean hasExpiration)
public void validateComponent()
throws IllegalArgumentException
IllegalArgumentException - Occurs when validation is not passed.Copyright © 2024. All rights reserved.