@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateEndpointRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateEndpointRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the global endpoint.
|
List<EndpointEventBus> |
getEventBuses()
Define the event buses used.
|
String |
getName()
The name of the global endpoint.
|
ReplicationConfig |
getReplicationConfig()
Enable or disable event replication.
|
String |
getRoleArn()
The ARN of the role used for replication.
|
RoutingConfig |
getRoutingConfig()
Configure the routing policy, including the health check and secondary Region..
|
int |
hashCode() |
void |
setDescription(String description)
A description of the global endpoint.
|
void |
setEventBuses(Collection<EndpointEventBus> eventBuses)
Define the event buses used.
|
void |
setName(String name)
The name of the global endpoint.
|
void |
setReplicationConfig(ReplicationConfig replicationConfig)
Enable or disable event replication.
|
void |
setRoleArn(String roleArn)
The ARN of the role used for replication.
|
void |
setRoutingConfig(RoutingConfig routingConfig)
Configure the routing policy, including the health check and secondary Region..
|
String |
toString()
Returns a string representation of this object.
|
CreateEndpointRequest |
withDescription(String description)
A description of the global endpoint.
|
CreateEndpointRequest |
withEventBuses(Collection<EndpointEventBus> eventBuses)
Define the event buses used.
|
CreateEndpointRequest |
withEventBuses(EndpointEventBus... eventBuses)
Define the event buses used.
|
CreateEndpointRequest |
withName(String name)
The name of the global endpoint.
|
CreateEndpointRequest |
withReplicationConfig(ReplicationConfig replicationConfig)
Enable or disable event replication.
|
CreateEndpointRequest |
withRoleArn(String roleArn)
The ARN of the role used for replication.
|
CreateEndpointRequest |
withRoutingConfig(RoutingConfig routingConfig)
Configure the routing policy, including the health check and secondary Region..
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
name - The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".public String getName()
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
"Name":"us-east-2-custom_bus_A-endpoint".public CreateEndpointRequest withName(String name)
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".
name - The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint".public void setDescription(String description)
A description of the global endpoint.
description - A description of the global endpoint.public String getDescription()
A description of the global endpoint.
public CreateEndpointRequest withDescription(String description)
A description of the global endpoint.
description - A description of the global endpoint.public void setRoutingConfig(RoutingConfig routingConfig)
Configure the routing policy, including the health check and secondary Region..
routingConfig - Configure the routing policy, including the health check and secondary Region..public RoutingConfig getRoutingConfig()
Configure the routing policy, including the health check and secondary Region..
public CreateEndpointRequest withRoutingConfig(RoutingConfig routingConfig)
Configure the routing policy, including the health check and secondary Region..
routingConfig - Configure the routing policy, including the health check and secondary Region..public void setReplicationConfig(ReplicationConfig replicationConfig)
Enable or disable event replication.
replicationConfig - Enable or disable event replication.public ReplicationConfig getReplicationConfig()
Enable or disable event replication.
public CreateEndpointRequest withReplicationConfig(ReplicationConfig replicationConfig)
Enable or disable event replication.
replicationConfig - Enable or disable event replication.public List<EndpointEventBus> getEventBuses()
Define the event buses used.
The names of the event buses must be identical in each Region.
The names of the event buses must be identical in each Region.
public void setEventBuses(Collection<EndpointEventBus> eventBuses)
Define the event buses used.
The names of the event buses must be identical in each Region.
eventBuses - Define the event buses used. The names of the event buses must be identical in each Region.
public CreateEndpointRequest withEventBuses(EndpointEventBus... eventBuses)
Define the event buses used.
The names of the event buses must be identical in each Region.
NOTE: This method appends the values to the existing list (if any). Use
setEventBuses(java.util.Collection) or withEventBuses(java.util.Collection) if you want to
override the existing values.
eventBuses - Define the event buses used. The names of the event buses must be identical in each Region.
public CreateEndpointRequest withEventBuses(Collection<EndpointEventBus> eventBuses)
Define the event buses used.
The names of the event buses must be identical in each Region.
eventBuses - Define the event buses used. The names of the event buses must be identical in each Region.
public void setRoleArn(String roleArn)
The ARN of the role used for replication.
roleArn - The ARN of the role used for replication.public String getRoleArn()
The ARN of the role used for replication.
public CreateEndpointRequest withRoleArn(String roleArn)
The ARN of the role used for replication.
roleArn - The ARN of the role used for replication.public String toString()
toString in class ObjectObject.toString()public CreateEndpointRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.