@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListenerSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a listener.
Constructor and Description |
---|
ListenerSummary() |
Modifier and Type | Method and Description |
---|---|
ListenerSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the listener.
|
Date |
getCreatedAt()
The date and time that the listener was created, specified in ISO-8601 format.
|
String |
getId()
The ID of the listener.
|
Date |
getLastUpdatedAt()
The date and time that the listener was last updated, specified in ISO-8601 format.
|
String |
getName()
The name of the listener.
|
Integer |
getPort()
The listener port.
|
String |
getProtocol()
The listener protocol.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
void |
setCreatedAt(Date createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
|
void |
setId(String id)
The ID of the listener.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
|
void |
setName(String name)
The name of the listener.
|
void |
setPort(Integer port)
The listener port.
|
void |
setProtocol(String protocol)
The listener protocol.
|
String |
toString()
Returns a string representation of this object.
|
ListenerSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
ListenerSummary |
withCreatedAt(Date createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
|
ListenerSummary |
withId(String id)
The ID of the listener.
|
ListenerSummary |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
|
ListenerSummary |
withName(String name)
The name of the listener.
|
ListenerSummary |
withPort(Integer port)
The listener port.
|
ListenerSummary |
withProtocol(ListenerProtocol protocol)
The listener protocol.
|
ListenerSummary |
withProtocol(String protocol)
The listener protocol.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn
- The Amazon Resource Name (ARN) of the listener.public String getArn()
The Amazon Resource Name (ARN) of the listener.
public ListenerSummary withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn
- The Amazon Resource Name (ARN) of the listener.public void setCreatedAt(Date createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
createdAt
- The date and time that the listener was created, specified in ISO-8601 format.public Date getCreatedAt()
The date and time that the listener was created, specified in ISO-8601 format.
public ListenerSummary withCreatedAt(Date createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
createdAt
- The date and time that the listener was created, specified in ISO-8601 format.public void setId(String id)
The ID of the listener.
id
- The ID of the listener.public String getId()
The ID of the listener.
public ListenerSummary withId(String id)
The ID of the listener.
id
- The ID of the listener.public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the listener was last updated, specified in ISO-8601 format.public Date getLastUpdatedAt()
The date and time that the listener was last updated, specified in ISO-8601 format.
public ListenerSummary withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the listener was last updated, specified in ISO-8601 format.public void setName(String name)
The name of the listener.
name
- The name of the listener.public String getName()
The name of the listener.
public ListenerSummary withName(String name)
The name of the listener.
name
- The name of the listener.public void setPort(Integer port)
The listener port.
port
- The listener port.public Integer getPort()
The listener port.
public ListenerSummary withPort(Integer port)
The listener port.
port
- The listener port.public void setProtocol(String protocol)
The listener protocol.
protocol
- The listener protocol.ListenerProtocol
public String getProtocol()
The listener protocol.
ListenerProtocol
public ListenerSummary withProtocol(String protocol)
The listener protocol.
protocol
- The listener protocol.ListenerProtocol
public ListenerSummary withProtocol(ListenerProtocol protocol)
The listener protocol.
protocol
- The listener protocol.ListenerProtocol
public String toString()
toString
in class Object
Object.toString()
public ListenerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.