@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEventsEndpointDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about an Amazon EventBridge global endpoint. The endpoint can improve your application’s availability by making it Regional-fault tolerant.
Constructor and Description |
---|
AwsEventsEndpointDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEventsEndpointDetails |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the endpoint.
|
String |
getDescription()
A description of the endpoint.
|
String |
getEndpointId()
The URL subdomain of the endpoint.
|
String |
getEndpointUrl()
The URL of the endpoint.
|
List<AwsEventsEndpointEventBusesDetails> |
getEventBuses()
The event buses being used by the endpoint.
|
String |
getName()
The name of the endpoint.
|
AwsEventsEndpointReplicationConfigDetails |
getReplicationConfig()
Whether event replication was enabled or disabled for this endpoint.
|
String |
getRoleArn()
The ARN of the role used by event replication for the endpoint.
|
AwsEventsEndpointRoutingConfigDetails |
getRoutingConfig()
The routing configuration of the endpoint.
|
String |
getState()
The current state of the endpoint.
|
String |
getStateReason()
The reason the endpoint is in its current state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the endpoint.
|
void |
setDescription(String description)
A description of the endpoint.
|
void |
setEndpointId(String endpointId)
The URL subdomain of the endpoint.
|
void |
setEndpointUrl(String endpointUrl)
The URL of the endpoint.
|
void |
setEventBuses(Collection<AwsEventsEndpointEventBusesDetails> eventBuses)
The event buses being used by the endpoint.
|
void |
setName(String name)
The name of the endpoint.
|
void |
setReplicationConfig(AwsEventsEndpointReplicationConfigDetails replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
|
void |
setRoleArn(String roleArn)
The ARN of the role used by event replication for the endpoint.
|
void |
setRoutingConfig(AwsEventsEndpointRoutingConfigDetails routingConfig)
The routing configuration of the endpoint.
|
void |
setState(String state)
The current state of the endpoint.
|
void |
setStateReason(String stateReason)
The reason the endpoint is in its current state.
|
String |
toString()
Returns a string representation of this object.
|
AwsEventsEndpointDetails |
withArn(String arn)
The Amazon Resource Name (ARN) of the endpoint.
|
AwsEventsEndpointDetails |
withDescription(String description)
A description of the endpoint.
|
AwsEventsEndpointDetails |
withEndpointId(String endpointId)
The URL subdomain of the endpoint.
|
AwsEventsEndpointDetails |
withEndpointUrl(String endpointUrl)
The URL of the endpoint.
|
AwsEventsEndpointDetails |
withEventBuses(AwsEventsEndpointEventBusesDetails... eventBuses)
The event buses being used by the endpoint.
|
AwsEventsEndpointDetails |
withEventBuses(Collection<AwsEventsEndpointEventBusesDetails> eventBuses)
The event buses being used by the endpoint.
|
AwsEventsEndpointDetails |
withName(String name)
The name of the endpoint.
|
AwsEventsEndpointDetails |
withReplicationConfig(AwsEventsEndpointReplicationConfigDetails replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
|
AwsEventsEndpointDetails |
withRoleArn(String roleArn)
The ARN of the role used by event replication for the endpoint.
|
AwsEventsEndpointDetails |
withRoutingConfig(AwsEventsEndpointRoutingConfigDetails routingConfig)
The routing configuration of the endpoint.
|
AwsEventsEndpointDetails |
withState(String state)
The current state of the endpoint.
|
AwsEventsEndpointDetails |
withStateReason(String stateReason)
The reason the endpoint is in its current state.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the endpoint.
arn
- The Amazon Resource Name (ARN) of the endpoint.public String getArn()
The Amazon Resource Name (ARN) of the endpoint.
public AwsEventsEndpointDetails withArn(String arn)
The Amazon Resource Name (ARN) of the endpoint.
arn
- The Amazon Resource Name (ARN) of the endpoint.public void setDescription(String description)
A description of the endpoint.
description
- A description of the endpoint.public String getDescription()
A description of the endpoint.
public AwsEventsEndpointDetails withDescription(String description)
A description of the endpoint.
description
- A description of the endpoint.public void setEndpointId(String endpointId)
The URL subdomain of the endpoint. For example, if EndpointUrl
is
https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is
abcde.veo
.
endpointId
- The URL subdomain of the endpoint. For example, if EndpointUrl
is
https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is
abcde.veo
.public String getEndpointId()
The URL subdomain of the endpoint. For example, if EndpointUrl
is
https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is
abcde.veo
.
EndpointUrl
is
https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is
abcde.veo
.public AwsEventsEndpointDetails withEndpointId(String endpointId)
The URL subdomain of the endpoint. For example, if EndpointUrl
is
https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is
abcde.veo
.
endpointId
- The URL subdomain of the endpoint. For example, if EndpointUrl
is
https://abcde.veo.endpoints.event.amazonaws.com
, then the EndpointId
is
abcde.veo
.public void setEndpointUrl(String endpointUrl)
The URL of the endpoint.
endpointUrl
- The URL of the endpoint.public String getEndpointUrl()
The URL of the endpoint.
public AwsEventsEndpointDetails withEndpointUrl(String endpointUrl)
The URL of the endpoint.
endpointUrl
- The URL of the endpoint.public List<AwsEventsEndpointEventBusesDetails> getEventBuses()
The event buses being used by the endpoint.
public void setEventBuses(Collection<AwsEventsEndpointEventBusesDetails> eventBuses)
The event buses being used by the endpoint.
eventBuses
- The event buses being used by the endpoint.public AwsEventsEndpointDetails withEventBuses(AwsEventsEndpointEventBusesDetails... eventBuses)
The event buses being used by the endpoint.
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
- The event buses being used by the endpoint.public AwsEventsEndpointDetails withEventBuses(Collection<AwsEventsEndpointEventBusesDetails> eventBuses)
The event buses being used by the endpoint.
eventBuses
- The event buses being used by the endpoint.public void setName(String name)
The name of the endpoint.
name
- The name of the endpoint.public String getName()
The name of the endpoint.
public AwsEventsEndpointDetails withName(String name)
The name of the endpoint.
name
- The name of the endpoint.public void setReplicationConfig(AwsEventsEndpointReplicationConfigDetails replicationConfig)
Whether event replication was enabled or disabled for this endpoint. The default state is ENABLED
,
which means you must supply a RoleArn
. If you don't have a RoleArn
or you don't want
event replication enabled, set the state to DISABLED
.
replicationConfig
- Whether event replication was enabled or disabled for this endpoint. The default state is
ENABLED
, which means you must supply a RoleArn
. If you don't have a
RoleArn
or you don't want event replication enabled, set the state to DISABLED
.public AwsEventsEndpointReplicationConfigDetails getReplicationConfig()
Whether event replication was enabled or disabled for this endpoint. The default state is ENABLED
,
which means you must supply a RoleArn
. If you don't have a RoleArn
or you don't want
event replication enabled, set the state to DISABLED
.
ENABLED
, which means you must supply a RoleArn
. If you don't have a
RoleArn
or you don't want event replication enabled, set the state to DISABLED
.public AwsEventsEndpointDetails withReplicationConfig(AwsEventsEndpointReplicationConfigDetails replicationConfig)
Whether event replication was enabled or disabled for this endpoint. The default state is ENABLED
,
which means you must supply a RoleArn
. If you don't have a RoleArn
or you don't want
event replication enabled, set the state to DISABLED
.
replicationConfig
- Whether event replication was enabled or disabled for this endpoint. The default state is
ENABLED
, which means you must supply a RoleArn
. If you don't have a
RoleArn
or you don't want event replication enabled, set the state to DISABLED
.public void setRoleArn(String roleArn)
The ARN of the role used by event replication for the endpoint.
roleArn
- The ARN of the role used by event replication for the endpoint.public String getRoleArn()
The ARN of the role used by event replication for the endpoint.
public AwsEventsEndpointDetails withRoleArn(String roleArn)
The ARN of the role used by event replication for the endpoint.
roleArn
- The ARN of the role used by event replication for the endpoint.public void setRoutingConfig(AwsEventsEndpointRoutingConfigDetails routingConfig)
The routing configuration of the endpoint.
routingConfig
- The routing configuration of the endpoint.public AwsEventsEndpointRoutingConfigDetails getRoutingConfig()
The routing configuration of the endpoint.
public AwsEventsEndpointDetails withRoutingConfig(AwsEventsEndpointRoutingConfigDetails routingConfig)
The routing configuration of the endpoint.
routingConfig
- The routing configuration of the endpoint.public void setState(String state)
The current state of the endpoint.
state
- The current state of the endpoint.public String getState()
The current state of the endpoint.
public AwsEventsEndpointDetails withState(String state)
The current state of the endpoint.
state
- The current state of the endpoint.public void setStateReason(String stateReason)
The reason the endpoint is in its current state.
stateReason
- The reason the endpoint is in its current state.public String getStateReason()
The reason the endpoint is in its current state.
public AwsEventsEndpointDetails withStateReason(String stateReason)
The reason the endpoint is in its current state.
stateReason
- The reason the endpoint is in its current state.public String toString()
toString
in class Object
Object.toString()
public AwsEventsEndpointDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.