@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultButtonConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Default button configuration.
Constructor and Description |
---|
DefaultButtonConfiguration() |
Modifier and Type | Method and Description |
---|---|
DefaultButtonConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBackgroundColor()
The background color of the button.
|
Integer |
getBorderRadius()
The border radius of the button.
|
String |
getButtonAction()
Action triggered by the button.
|
String |
getLink()
Button destination.
|
String |
getText()
Button text.
|
String |
getTextColor()
The text color of the button.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackgroundColor(String backgroundColor)
The background color of the button.
|
void |
setBorderRadius(Integer borderRadius)
The border radius of the button.
|
void |
setButtonAction(String buttonAction)
Action triggered by the button.
|
void |
setLink(String link)
Button destination.
|
void |
setText(String text)
Button text.
|
void |
setTextColor(String textColor)
The text color of the button.
|
String |
toString()
Returns a string representation of this object.
|
DefaultButtonConfiguration |
withBackgroundColor(String backgroundColor)
The background color of the button.
|
DefaultButtonConfiguration |
withBorderRadius(Integer borderRadius)
The border radius of the button.
|
DefaultButtonConfiguration |
withButtonAction(ButtonAction buttonAction)
Action triggered by the button.
|
DefaultButtonConfiguration |
withButtonAction(String buttonAction)
Action triggered by the button.
|
DefaultButtonConfiguration |
withLink(String link)
Button destination.
|
DefaultButtonConfiguration |
withText(String text)
Button text.
|
DefaultButtonConfiguration |
withTextColor(String textColor)
The text color of the button.
|
public void setBackgroundColor(String backgroundColor)
The background color of the button.
backgroundColor
- The background color of the button.public String getBackgroundColor()
The background color of the button.
public DefaultButtonConfiguration withBackgroundColor(String backgroundColor)
The background color of the button.
backgroundColor
- The background color of the button.public void setBorderRadius(Integer borderRadius)
The border radius of the button.
borderRadius
- The border radius of the button.public Integer getBorderRadius()
The border radius of the button.
public DefaultButtonConfiguration withBorderRadius(Integer borderRadius)
The border radius of the button.
borderRadius
- The border radius of the button.public void setButtonAction(String buttonAction)
Action triggered by the button.
buttonAction
- Action triggered by the button.ButtonAction
public String getButtonAction()
Action triggered by the button.
ButtonAction
public DefaultButtonConfiguration withButtonAction(String buttonAction)
Action triggered by the button.
buttonAction
- Action triggered by the button.ButtonAction
public DefaultButtonConfiguration withButtonAction(ButtonAction buttonAction)
Action triggered by the button.
buttonAction
- Action triggered by the button.ButtonAction
public void setLink(String link)
Button destination.
link
- Button destination.public String getLink()
Button destination.
public DefaultButtonConfiguration withLink(String link)
Button destination.
link
- Button destination.public void setText(String text)
Button text.
text
- Button text.public String getText()
Button text.
public DefaultButtonConfiguration withText(String text)
Button text.
text
- Button text.public void setTextColor(String textColor)
The text color of the button.
textColor
- The text color of the button.public String getTextColor()
The text color of the button.
public DefaultButtonConfiguration withTextColor(String textColor)
The text color of the button.
textColor
- The text color of the button.public String toString()
toString
in class Object
Object.toString()
public DefaultButtonConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.