@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentVariant extends Object implements Serializable, Cloneable, StructuredPojo
Describes the style configuration of a unique variation of a main component.
Constructor and Description |
---|
ComponentVariant() |
Modifier and Type | Method and Description |
---|---|
ComponentVariant |
addOverridesEntry(String key,
Map<String,String> value)
Add a single Overrides entry
|
ComponentVariant |
addVariantValuesEntry(String key,
String value)
Add a single VariantValues entry
|
ComponentVariant |
clearOverridesEntries()
Removes all the entries added into Overrides.
|
ComponentVariant |
clearVariantValuesEntries()
Removes all the entries added into VariantValues.
|
ComponentVariant |
clone() |
boolean |
equals(Object obj) |
Map<String,Map<String,String>> |
getOverrides()
The properties of the component variant that can be overriden when customizing an instance of the component.
|
Map<String,String> |
getVariantValues()
The combination of variants that comprise this variant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOverrides(Map<String,Map<String,String>> overrides)
The properties of the component variant that can be overriden when customizing an instance of the component.
|
void |
setVariantValues(Map<String,String> variantValues)
The combination of variants that comprise this variant.
|
String |
toString()
Returns a string representation of this object.
|
ComponentVariant |
withOverrides(Map<String,Map<String,String>> overrides)
The properties of the component variant that can be overriden when customizing an instance of the component.
|
ComponentVariant |
withVariantValues(Map<String,String> variantValues)
The combination of variants that comprise this variant.
|
public Map<String,String> getVariantValues()
The combination of variants that comprise this variant. You can't specify tags
as a valid property
for variantValues
.
tags
as a valid
property for variantValues
.public void setVariantValues(Map<String,String> variantValues)
The combination of variants that comprise this variant. You can't specify tags
as a valid property
for variantValues
.
variantValues
- The combination of variants that comprise this variant. You can't specify tags
as a valid
property for variantValues
.public ComponentVariant withVariantValues(Map<String,String> variantValues)
The combination of variants that comprise this variant. You can't specify tags
as a valid property
for variantValues
.
variantValues
- The combination of variants that comprise this variant. You can't specify tags
as a valid
property for variantValues
.public ComponentVariant addVariantValuesEntry(String key, String value)
public ComponentVariant clearVariantValuesEntries()
public Map<String,Map<String,String>> getOverrides()
The properties of the component variant that can be overriden when customizing an instance of the component. You
can't specify tags
as a valid property for overrides
.
tags
as a valid property for overrides
.public void setOverrides(Map<String,Map<String,String>> overrides)
The properties of the component variant that can be overriden when customizing an instance of the component. You
can't specify tags
as a valid property for overrides
.
overrides
- The properties of the component variant that can be overriden when customizing an instance of the
component. You can't specify tags
as a valid property for overrides
.public ComponentVariant withOverrides(Map<String,Map<String,String>> overrides)
The properties of the component variant that can be overriden when customizing an instance of the component. You
can't specify tags
as a valid property for overrides
.
overrides
- The properties of the component variant that can be overriden when customizing an instance of the
component. You can't specify tags
as a valid property for overrides
.public ComponentVariant addOverridesEntry(String key, Map<String,String> value)
public ComponentVariant clearOverridesEntries()
public String toString()
toString
in class Object
Object.toString()
public ComponentVariant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.