@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the endpoint.
|
List<EndpointEventBus> |
getEventBuses()
Define event buses used for replication.
|
String |
getName()
The name of the endpoint you want to update.
|
ReplicationConfig |
getReplicationConfig()
Whether event replication was enabled or disabled by this request.
|
String |
getRoleArn()
The ARN of the role used by event replication for this request.
|
RoutingConfig |
getRoutingConfig()
Configure the routing policy, including the health check and secondary Region.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the endpoint.
|
void |
setEventBuses(Collection<EndpointEventBus> eventBuses)
Define event buses used for replication.
|
void |
setName(String name)
The name of the endpoint you want to update.
|
void |
setReplicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled by this request.
|
void |
setRoleArn(String roleArn)
The ARN of the role used by event replication for this request.
|
void |
setRoutingConfig(RoutingConfig routingConfig)
Configure the routing policy, including the health check and secondary Region.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEndpointRequest |
withDescription(String description)
A description for the endpoint.
|
UpdateEndpointRequest |
withEventBuses(Collection<EndpointEventBus> eventBuses)
Define event buses used for replication.
|
UpdateEndpointRequest |
withEventBuses(EndpointEventBus... eventBuses)
Define event buses used for replication.
|
UpdateEndpointRequest |
withName(String name)
The name of the endpoint you want to update.
|
UpdateEndpointRequest |
withReplicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled by this request.
|
UpdateEndpointRequest |
withRoleArn(String roleArn)
The ARN of the role used by event replication for this request.
|
UpdateEndpointRequest |
withRoutingConfig(RoutingConfig routingConfig)
Configure the routing policy, including the health check and secondary Region.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setName(String name)
The name of the endpoint you want to update.
name
- The name of the endpoint you want to update.public String getName()
The name of the endpoint you want to update.
public UpdateEndpointRequest withName(String name)
The name of the endpoint you want to update.
name
- The name of the endpoint you want to update.public void setDescription(String description)
A description for the endpoint.
description
- A description for the endpoint.public String getDescription()
A description for the endpoint.
public UpdateEndpointRequest withDescription(String description)
A description for the endpoint.
description
- A description for the 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 UpdateEndpointRequest 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)
Whether event replication was enabled or disabled by this request.
replicationConfig
- Whether event replication was enabled or disabled by this request.public ReplicationConfig getReplicationConfig()
Whether event replication was enabled or disabled by this request.
public UpdateEndpointRequest withReplicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled by this request.
replicationConfig
- Whether event replication was enabled or disabled by this request.public List<EndpointEventBus> getEventBuses()
Define event buses used for replication.
public void setEventBuses(Collection<EndpointEventBus> eventBuses)
Define event buses used for replication.
eventBuses
- Define event buses used for replication.public UpdateEndpointRequest withEventBuses(EndpointEventBus... eventBuses)
Define event buses used for replication.
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 event buses used for replication.public UpdateEndpointRequest withEventBuses(Collection<EndpointEventBus> eventBuses)
Define event buses used for replication.
eventBuses
- Define event buses used for replication.public void setRoleArn(String roleArn)
The ARN of the role used by event replication for this request.
roleArn
- The ARN of the role used by event replication for this request.public String getRoleArn()
The ARN of the role used by event replication for this request.
public UpdateEndpointRequest withRoleArn(String roleArn)
The ARN of the role used by event replication for this request.
roleArn
- The ARN of the role used by event replication for this request.public String toString()
toString
in class Object
Object.toString()
public UpdateEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()