@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Theme extends Object implements Serializable, Cloneable, StructuredPojo
A theme is a collection of style settings that apply globally to the components associated with an Amplify application.
Constructor and Description |
---|
Theme() |
Modifier and Type | Method and Description |
---|---|
Theme |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Theme |
clearTagsEntries()
Removes all the entries added into Tags.
|
Theme |
clone() |
boolean |
equals(Object obj) |
String |
getAppId()
The unique ID for the Amplify app associated with the theme.
|
Date |
getCreatedAt()
The time that the theme was created.
|
String |
getEnvironmentName()
The name of the backend environment that is a part of the Amplify app.
|
String |
getId()
The ID for the theme.
|
Date |
getModifiedAt()
The time that the theme was modified.
|
String |
getName()
The name of the theme.
|
List<ThemeValues> |
getOverrides()
Describes the properties that can be overriden to customize a theme.
|
Map<String,String> |
getTags()
One or more key-value pairs to use when tagging the theme.
|
List<ThemeValues> |
getValues()
A list of key-value pairs that defines the properties of the theme.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppId(String appId)
The unique ID for the Amplify app associated with the theme.
|
void |
setCreatedAt(Date createdAt)
The time that the theme was created.
|
void |
setEnvironmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
|
void |
setId(String id)
The ID for the theme.
|
void |
setModifiedAt(Date modifiedAt)
The time that the theme was modified.
|
void |
setName(String name)
The name of the theme.
|
void |
setOverrides(Collection<ThemeValues> overrides)
Describes the properties that can be overriden to customize a theme.
|
void |
setTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the theme.
|
void |
setValues(Collection<ThemeValues> values)
A list of key-value pairs that defines the properties of the theme.
|
String |
toString()
Returns a string representation of this object.
|
Theme |
withAppId(String appId)
The unique ID for the Amplify app associated with the theme.
|
Theme |
withCreatedAt(Date createdAt)
The time that the theme was created.
|
Theme |
withEnvironmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
|
Theme |
withId(String id)
The ID for the theme.
|
Theme |
withModifiedAt(Date modifiedAt)
The time that the theme was modified.
|
Theme |
withName(String name)
The name of the theme.
|
Theme |
withOverrides(Collection<ThemeValues> overrides)
Describes the properties that can be overriden to customize a theme.
|
Theme |
withOverrides(ThemeValues... overrides)
Describes the properties that can be overriden to customize a theme.
|
Theme |
withTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the theme.
|
Theme |
withValues(Collection<ThemeValues> values)
A list of key-value pairs that defines the properties of the theme.
|
Theme |
withValues(ThemeValues... values)
A list of key-value pairs that defines the properties of the theme.
|
public void setAppId(String appId)
The unique ID for the Amplify app associated with the theme.
appId
- The unique ID for the Amplify app associated with the theme.public String getAppId()
The unique ID for the Amplify app associated with the theme.
public Theme withAppId(String appId)
The unique ID for the Amplify app associated with the theme.
appId
- The unique ID for the Amplify app associated with the theme.public void setCreatedAt(Date createdAt)
The time that the theme was created.
createdAt
- The time that the theme was created.public Date getCreatedAt()
The time that the theme was created.
public Theme withCreatedAt(Date createdAt)
The time that the theme was created.
createdAt
- The time that the theme was created.public void setEnvironmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
environmentName
- The name of the backend environment that is a part of the Amplify app.public String getEnvironmentName()
The name of the backend environment that is a part of the Amplify app.
public Theme withEnvironmentName(String environmentName)
The name of the backend environment that is a part of the Amplify app.
environmentName
- The name of the backend environment that is a part of the Amplify app.public void setId(String id)
The ID for the theme.
id
- The ID for the theme.public String getId()
The ID for the theme.
public Theme withId(String id)
The ID for the theme.
id
- The ID for the theme.public void setModifiedAt(Date modifiedAt)
The time that the theme was modified.
modifiedAt
- The time that the theme was modified.public Date getModifiedAt()
The time that the theme was modified.
public Theme withModifiedAt(Date modifiedAt)
The time that the theme was modified.
modifiedAt
- The time that the theme was modified.public void setName(String name)
The name of the theme.
name
- The name of the theme.public String getName()
The name of the theme.
public Theme withName(String name)
The name of the theme.
name
- The name of the theme.public List<ThemeValues> getOverrides()
Describes the properties that can be overriden to customize a theme.
public void setOverrides(Collection<ThemeValues> overrides)
Describes the properties that can be overriden to customize a theme.
overrides
- Describes the properties that can be overriden to customize a theme.public Theme withOverrides(ThemeValues... overrides)
Describes the properties that can be overriden to customize a theme.
NOTE: This method appends the values to the existing list (if any). Use
setOverrides(java.util.Collection)
or withOverrides(java.util.Collection)
if you want to
override the existing values.
overrides
- Describes the properties that can be overriden to customize a theme.public Theme withOverrides(Collection<ThemeValues> overrides)
Describes the properties that can be overriden to customize a theme.
overrides
- Describes the properties that can be overriden to customize a theme.public Map<String,String> getTags()
One or more key-value pairs to use when tagging the theme.
public void setTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the theme.
tags
- One or more key-value pairs to use when tagging the theme.public Theme withTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the theme.
tags
- One or more key-value pairs to use when tagging the theme.public Theme clearTagsEntries()
public List<ThemeValues> getValues()
A list of key-value pairs that defines the properties of the theme.
public void setValues(Collection<ThemeValues> values)
A list of key-value pairs that defines the properties of the theme.
values
- A list of key-value pairs that defines the properties of the theme.public Theme withValues(ThemeValues... values)
A list of key-value pairs that defines the properties of the theme.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- A list of key-value pairs that defines the properties of the theme.public Theme withValues(Collection<ThemeValues> values)
A list of key-value pairs that defines the properties of the theme.
values
- A list of key-value pairs that defines the properties of the theme.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.