@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentRequest extends Object implements Serializable, Cloneable, StructuredPojo
An object that sets information about a component type create or update request.
Constructor and Description |
---|
ComponentRequest() |
Modifier and Type | Method and Description |
---|---|
ComponentRequest |
addPropertiesEntry(String key,
PropertyRequest value)
Add a single Properties entry
|
ComponentRequest |
addPropertyGroupsEntry(String key,
ComponentPropertyGroupRequest value)
Add a single PropertyGroups entry
|
ComponentRequest |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
ComponentRequest |
clearPropertyGroupsEntries()
Removes all the entries added into PropertyGroups.
|
ComponentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getComponentTypeId()
The ID of the component type.
|
String |
getDescription()
The description of the component request.
|
Map<String,PropertyRequest> |
getProperties()
An object that maps strings to the properties to set in the component type.
|
Map<String,ComponentPropertyGroupRequest> |
getPropertyGroups()
The property groups.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentTypeId(String componentTypeId)
The ID of the component type.
|
void |
setDescription(String description)
The description of the component request.
|
void |
setProperties(Map<String,PropertyRequest> properties)
An object that maps strings to the properties to set in the component type.
|
void |
setPropertyGroups(Map<String,ComponentPropertyGroupRequest> propertyGroups)
The property groups.
|
String |
toString()
Returns a string representation of this object.
|
ComponentRequest |
withComponentTypeId(String componentTypeId)
The ID of the component type.
|
ComponentRequest |
withDescription(String description)
The description of the component request.
|
ComponentRequest |
withProperties(Map<String,PropertyRequest> properties)
An object that maps strings to the properties to set in the component type.
|
ComponentRequest |
withPropertyGroups(Map<String,ComponentPropertyGroupRequest> propertyGroups)
The property groups.
|
public void setDescription(String description)
The description of the component request.
description
- The description of the component request.public String getDescription()
The description of the component request.
public ComponentRequest withDescription(String description)
The description of the component request.
description
- The description of the component request.public void setComponentTypeId(String componentTypeId)
The ID of the component type.
componentTypeId
- The ID of the component type.public String getComponentTypeId()
The ID of the component type.
public ComponentRequest withComponentTypeId(String componentTypeId)
The ID of the component type.
componentTypeId
- The ID of the component type.public Map<String,PropertyRequest> getProperties()
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
public void setProperties(Map<String,PropertyRequest> properties)
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
properties
- An object that maps strings to the properties to set in the component type. Each string in the mapping
must be unique to this object.public ComponentRequest withProperties(Map<String,PropertyRequest> properties)
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
properties
- An object that maps strings to the properties to set in the component type. Each string in the mapping
must be unique to this object.public ComponentRequest addPropertiesEntry(String key, PropertyRequest value)
public ComponentRequest clearPropertiesEntries()
public Map<String,ComponentPropertyGroupRequest> getPropertyGroups()
The property groups.
public void setPropertyGroups(Map<String,ComponentPropertyGroupRequest> propertyGroups)
The property groups.
propertyGroups
- The property groups.public ComponentRequest withPropertyGroups(Map<String,ComponentPropertyGroupRequest> propertyGroups)
The property groups.
propertyGroups
- The property groups.public ComponentRequest addPropertyGroupsEntry(String key, ComponentPropertyGroupRequest value)
public ComponentRequest clearPropertyGroupsEntries()
public String toString()
toString
in class Object
Object.toString()
public ComponentRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.