@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Plugin extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Q plugin and its configuration.
Constructor and Description |
---|
Plugin() |
Modifier and Type | Method and Description |
---|---|
Plugin |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp for when the plugin was created.
|
String |
getDisplayName()
The name of the plugin.
|
String |
getPluginId()
The identifier of the plugin.
|
String |
getServerUrl()
The plugin server URL used for configuration.
|
String |
getState()
The current status of the plugin.
|
String |
getType()
The type of the plugin.
|
Date |
getUpdatedAt()
The timestamp for when the plugin was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The timestamp for when the plugin was created.
|
void |
setDisplayName(String displayName)
The name of the plugin.
|
void |
setPluginId(String pluginId)
The identifier of the plugin.
|
void |
setServerUrl(String serverUrl)
The plugin server URL used for configuration.
|
void |
setState(String state)
The current status of the plugin.
|
void |
setType(String type)
The type of the plugin.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp for when the plugin was last updated.
|
String |
toString()
Returns a string representation of this object.
|
Plugin |
withCreatedAt(Date createdAt)
The timestamp for when the plugin was created.
|
Plugin |
withDisplayName(String displayName)
The name of the plugin.
|
Plugin |
withPluginId(String pluginId)
The identifier of the plugin.
|
Plugin |
withServerUrl(String serverUrl)
The plugin server URL used for configuration.
|
Plugin |
withState(PluginState state)
The current status of the plugin.
|
Plugin |
withState(String state)
The current status of the plugin.
|
Plugin |
withType(PluginType type)
The type of the plugin.
|
Plugin |
withType(String type)
The type of the plugin.
|
Plugin |
withUpdatedAt(Date updatedAt)
The timestamp for when the plugin was last updated.
|
public void setCreatedAt(Date createdAt)
The timestamp for when the plugin was created.
createdAt
- The timestamp for when the plugin was created.public Date getCreatedAt()
The timestamp for when the plugin was created.
public Plugin withCreatedAt(Date createdAt)
The timestamp for when the plugin was created.
createdAt
- The timestamp for when the plugin was created.public void setDisplayName(String displayName)
The name of the plugin.
displayName
- The name of the plugin.public String getDisplayName()
The name of the plugin.
public Plugin withDisplayName(String displayName)
The name of the plugin.
displayName
- The name of the plugin.public void setPluginId(String pluginId)
The identifier of the plugin.
pluginId
- The identifier of the plugin.public String getPluginId()
The identifier of the plugin.
public Plugin withPluginId(String pluginId)
The identifier of the plugin.
pluginId
- The identifier of the plugin.public void setServerUrl(String serverUrl)
The plugin server URL used for configuration.
serverUrl
- The plugin server URL used for configuration.public String getServerUrl()
The plugin server URL used for configuration.
public Plugin withServerUrl(String serverUrl)
The plugin server URL used for configuration.
serverUrl
- The plugin server URL used for configuration.public void setState(String state)
The current status of the plugin.
state
- The current status of the plugin.PluginState
public String getState()
The current status of the plugin.
PluginState
public Plugin withState(String state)
The current status of the plugin.
state
- The current status of the plugin.PluginState
public Plugin withState(PluginState state)
The current status of the plugin.
state
- The current status of the plugin.PluginState
public void setType(String type)
The type of the plugin.
type
- The type of the plugin.PluginType
public String getType()
The type of the plugin.
PluginType
public Plugin withType(String type)
The type of the plugin.
type
- The type of the plugin.PluginType
public Plugin withType(PluginType type)
The type of the plugin.
type
- The type of the plugin.PluginType
public void setUpdatedAt(Date updatedAt)
The timestamp for when the plugin was last updated.
updatedAt
- The timestamp for when the plugin was last updated.public Date getUpdatedAt()
The timestamp for when the plugin was last updated.
public Plugin withUpdatedAt(Date updatedAt)
The timestamp for when the plugin was last updated.
updatedAt
- The timestamp for when the plugin was last updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.