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