@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateListenerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateListenerResult() |
Modifier and Type | Method and Description |
---|---|
UpdateListenerResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the listener.
|
RuleAction |
getDefaultAction()
The action for the default rule.
|
String |
getId()
The ID of the listener.
|
String |
getName()
The name of the listener.
|
Integer |
getPort()
The listener port.
|
String |
getProtocol()
The protocol of the listener.
|
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 |
setDefaultAction(RuleAction defaultAction)
The action for the default rule.
|
void |
setId(String id)
The ID of the listener.
|
void |
setName(String name)
The name of the listener.
|
void |
setPort(Integer port)
The listener port.
|
void |
setProtocol(String protocol)
The protocol of the listener.
|
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.
|
UpdateListenerResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
UpdateListenerResult |
withDefaultAction(RuleAction defaultAction)
The action for the default rule.
|
UpdateListenerResult |
withId(String id)
The ID of the listener.
|
UpdateListenerResult |
withName(String name)
The name of the listener.
|
UpdateListenerResult |
withPort(Integer port)
The listener port.
|
UpdateListenerResult |
withProtocol(ListenerProtocol protocol)
The protocol of the listener.
|
UpdateListenerResult |
withProtocol(String protocol)
The protocol of the listener.
|
UpdateListenerResult |
withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
|
UpdateListenerResult |
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 UpdateListenerResult withArn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn
- The Amazon Resource Name (ARN) of the listener.public void setDefaultAction(RuleAction defaultAction)
The action for the default rule.
defaultAction
- The action for the default rule.public RuleAction getDefaultAction()
The action for the default rule.
public UpdateListenerResult withDefaultAction(RuleAction defaultAction)
The action for the default rule.
defaultAction
- The action for the default 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 UpdateListenerResult withId(String id)
The ID of the listener.
id
- The ID of the listener.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 UpdateListenerResult 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 UpdateListenerResult withPort(Integer port)
The listener port.
port
- The listener port.public void setProtocol(String protocol)
The protocol of the listener.
protocol
- The protocol of the listener.ListenerProtocol
public String getProtocol()
The protocol of the listener.
ListenerProtocol
public UpdateListenerResult withProtocol(String protocol)
The protocol of the listener.
protocol
- The protocol of the listener.ListenerProtocol
public UpdateListenerResult withProtocol(ListenerProtocol protocol)
The protocol of the listener.
protocol
- The protocol of the listener.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 UpdateListenerResult 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 UpdateListenerResult withServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public String toString()
toString
in class Object
Object.toString()
public UpdateListenerResult clone()