@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetListenerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetListenerResult() |
Modifier and Type | Method and Description |
---|---|
GetListenerResult |
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.
|
RuleAction |
getDefaultAction()
The actions for the default listener rule.
|
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.
|
String |
getServiceArn()
The Amazon Resource Name (ARN) of the service.
|
String |
getServiceId()
The ID of the service.
|
int |
hashCode() |
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 |
setDefaultAction(RuleAction defaultAction)
The actions for the default listener rule.
|
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.
|
void |
setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
|
void |
setServiceId(String serviceId)
The ID of the service.
|
String |
toString()
Returns a string representation of this object.
|
GetListenerResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
GetListenerResult |
withCreatedAt(Date createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
|
GetListenerResult |
withDefaultAction(RuleAction defaultAction)
The actions for the default listener rule.
|
GetListenerResult |
withId(String id)
The ID of the listener.
|
GetListenerResult |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
|
GetListenerResult |
withName(String name)
The name of the listener.
|
GetListenerResult |
withPort(Integer port)
The listener port.
|
GetListenerResult |
withProtocol(ListenerProtocol protocol)
The listener protocol.
|
GetListenerResult |
withProtocol(String protocol)
The listener protocol.
|
GetListenerResult |
withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
|
GetListenerResult |
withServiceId(String serviceId)
The ID of the service.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetListenerResult 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 GetListenerResult 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 setDefaultAction(RuleAction defaultAction)
The actions for the default listener rule.
defaultAction
- The actions for the default listener rule.public RuleAction getDefaultAction()
The actions for the default listener rule.
public GetListenerResult withDefaultAction(RuleAction defaultAction)
The actions for the default listener rule.
defaultAction
- The actions for the default listener rule.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 GetListenerResult 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 GetListenerResult 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 GetListenerResult 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 GetListenerResult 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 GetListenerResult withProtocol(String protocol)
The listener protocol.
protocol
- The listener protocol.ListenerProtocol
public GetListenerResult withProtocol(ListenerProtocol protocol)
The listener protocol.
protocol
- The listener protocol.ListenerProtocol
public void setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
serviceArn
- The Amazon Resource Name (ARN) of the service.public String getServiceArn()
The Amazon Resource Name (ARN) of the service.
public GetListenerResult withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
serviceArn
- The Amazon Resource Name (ARN) of the service.public void setServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public String getServiceId()
The ID of the service.
public GetListenerResult withServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public String toString()
toString
in class Object
Object.toString()
public GetListenerResult clone()