@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 |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
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.
|
Status |
getStatus()
The status of the component type.
|
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 |
setStatus(Status status)
The status of the component type.
|
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 |
withStatus(Status status)
The status of the component type.
|
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 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 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 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 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 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 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.