@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 |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
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.
|
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.
|
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.
|
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 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 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 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.