@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentResponse extends Object implements Serializable, Cloneable, StructuredPojo
An object that returns information about a component type create or update request.
Constructor and Description |
---|
ComponentResponse() |
Modifier and Type | Method and Description |
---|---|
ComponentResponse |
addPropertiesEntry(String key,
PropertyResponse value)
Add a single Properties entry
|
ComponentResponse |
addPropertyGroupsEntry(String key,
ComponentPropertyGroupResponse value)
Add a single PropertyGroups entry
|
ComponentResponse |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
ComponentResponse |
clearPropertyGroupsEntries()
Removes all the entries added into PropertyGroups.
|
ComponentResponse |
clone() |
boolean |
equals(Object obj) |
String |
getComponentName()
The name of the component.
|
String |
getComponentTypeId()
The ID of the component type.
|
String |
getDefinedIn()
The name of the property definition set in the request.
|
String |
getDescription()
The description of the component type.
|
Map<String,PropertyResponse> |
getProperties()
An object that maps strings to the properties to set in the component type.
|
Map<String,ComponentPropertyGroupResponse> |
getPropertyGroups()
The property groups.
|
Status |
getStatus()
The status of the component type.
|
String |
getSyncSource()
The syncSource of the sync job, if this entity was created by a sync job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentName(String componentName)
The name of the component.
|
void |
setComponentTypeId(String componentTypeId)
The ID of the component type.
|
void |
setDefinedIn(String definedIn)
The name of the property definition set in the request.
|
void |
setDescription(String description)
The description of the component type.
|
void |
setProperties(Map<String,PropertyResponse> properties)
An object that maps strings to the properties to set in the component type.
|
void |
setPropertyGroups(Map<String,ComponentPropertyGroupResponse> propertyGroups)
The property groups.
|
void |
setStatus(Status status)
The status of the component type.
|
void |
setSyncSource(String syncSource)
The syncSource of the sync job, if this entity was created by a sync job.
|
String |
toString()
Returns a string representation of this object.
|
ComponentResponse |
withComponentName(String componentName)
The name of the component.
|
ComponentResponse |
withComponentTypeId(String componentTypeId)
The ID of the component type.
|
ComponentResponse |
withDefinedIn(String definedIn)
The name of the property definition set in the request.
|
ComponentResponse |
withDescription(String description)
The description of the component type.
|
ComponentResponse |
withProperties(Map<String,PropertyResponse> properties)
An object that maps strings to the properties to set in the component type.
|
ComponentResponse |
withPropertyGroups(Map<String,ComponentPropertyGroupResponse> propertyGroups)
The property groups.
|
ComponentResponse |
withStatus(Status status)
The status of the component type.
|
ComponentResponse |
withSyncSource(String syncSource)
The syncSource of the sync job, if this entity was created by a sync job.
|
public void setComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public String getComponentName()
The name of the component.
public ComponentResponse withComponentName(String componentName)
The name of the component.
componentName
- The name of the component.public void setDescription(String description)
The description of the component type.
description
- The description of the component type.public String getDescription()
The description of the component type.
public ComponentResponse withDescription(String description)
The description of the component type.
description
- The description of 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 ComponentResponse withComponentTypeId(String componentTypeId)
The ID of the component type.
componentTypeId
- The ID of the component type.public void setStatus(Status status)
The status of the component type.
status
- The status of the component type.public Status getStatus()
The status of the component type.
public ComponentResponse withStatus(Status status)
The status of the component type.
status
- The status of the component type.public void setDefinedIn(String definedIn)
The name of the property definition set in the request.
definedIn
- The name of the property definition set in the request.public String getDefinedIn()
The name of the property definition set in the request.
public ComponentResponse withDefinedIn(String definedIn)
The name of the property definition set in the request.
definedIn
- The name of the property definition set in the request.public Map<String,PropertyResponse> 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,PropertyResponse> 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 ComponentResponse withProperties(Map<String,PropertyResponse> 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 ComponentResponse addPropertiesEntry(String key, PropertyResponse value)
public ComponentResponse clearPropertiesEntries()
public Map<String,ComponentPropertyGroupResponse> getPropertyGroups()
The property groups.
public void setPropertyGroups(Map<String,ComponentPropertyGroupResponse> propertyGroups)
The property groups.
propertyGroups
- The property groups.public ComponentResponse withPropertyGroups(Map<String,ComponentPropertyGroupResponse> propertyGroups)
The property groups.
propertyGroups
- The property groups.public ComponentResponse addPropertyGroupsEntry(String key, ComponentPropertyGroupResponse value)
public ComponentResponse clearPropertyGroupsEntries()
public void setSyncSource(String syncSource)
The syncSource of the sync job, if this entity was created by a sync job.
syncSource
- The syncSource of the sync job, if this entity was created by a sync job.public String getSyncSource()
The syncSource of the sync job, if this entity was created by a sync job.
public ComponentResponse withSyncSource(String syncSource)
The syncSource of the sync job, if this entity was created by a sync job.
syncSource
- The syncSource of the sync job, if this entity was created by a sync job.public String toString()
toString
in class Object
Object.toString()
public ComponentResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.