Interface Endpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Endpoint.Builder,
,Endpoint> SdkBuilder<Endpoint.Builder,
,Endpoint> SdkPojo
- Enclosing class:
Endpoint
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the endpoint.creationTime
(Instant creationTime) The time the endpoint was created.description
(String description) A description for the endpoint.endpointId
(String endpointId) The URL subdomain of the endpoint.endpointUrl
(String endpointUrl) The URL of the endpoint.eventBuses
(Collection<EndpointEventBus> eventBuses) The event buses being used by the endpoint.eventBuses
(Consumer<EndpointEventBus.Builder>... eventBuses) The event buses being used by the endpoint.eventBuses
(EndpointEventBus... eventBuses) The event buses being used by the endpoint.lastModifiedTime
(Instant lastModifiedTime) The last time the endpoint was modified.The name of the endpoint.default Endpoint.Builder
replicationConfig
(Consumer<ReplicationConfig.Builder> replicationConfig) Whether event replication was enabled or disabled for this endpoint.replicationConfig
(ReplicationConfig replicationConfig) Whether event replication was enabled or disabled for this endpoint.The ARN of the role used by event replication for the endpoint.default Endpoint.Builder
routingConfig
(Consumer<RoutingConfig.Builder> routingConfig) The routing configuration of the endpoint.routingConfig
(RoutingConfig routingConfig) The routing configuration of the endpoint.The current state of the endpoint.state
(EndpointState state) The current state of the endpoint.stateReason
(String stateReason) The reason the endpoint is in its current state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the endpoint.
- Parameters:
name
- The name of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the endpoint.
- Parameters:
description
- A description for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the endpoint.
- Parameters:
arn
- The ARN of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The routing configuration of the endpoint.
- Parameters:
routingConfig
- The routing configuration of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The routing configuration of the endpoint.
This is a convenience method that creates an instance of theRoutingConfig.Builder
avoiding the need to create one manually viaRoutingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingConfig(RoutingConfig)
.- Parameters:
routingConfig
- a consumer that will call methods onRoutingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationConfig
Whether event replication was enabled or disabled for this endpoint. The default state is
ENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.- Parameters:
replicationConfig
- Whether event replication was enabled or disabled for this endpoint. The default state isENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfig
Whether event replication was enabled or disabled for this endpoint. The default state is
This is a convenience method that creates an instance of theENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.ReplicationConfig.Builder
avoiding the need to create one manually viaReplicationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationConfig(ReplicationConfig)
.- Parameters:
replicationConfig
- a consumer that will call methods onReplicationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventBuses
The event buses being used by the endpoint.
- Parameters:
eventBuses
- The event buses being used by the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
The event buses being used by the endpoint.
- Parameters:
eventBuses
- The event buses being used by the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
The event buses being used by the endpoint.
This is a convenience method that creates an instance of theEndpointEventBus.Builder
avoiding the need to create one manually viaEndpointEventBus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBuses(List<EndpointEventBus>)
.- Parameters:
eventBuses
- a consumer that will call methods onEndpointEventBus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the role used by event replication for the endpoint.
- Parameters:
roleArn
- The ARN of the role used by event replication for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointId
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is
abcde.veo
.- Parameters:
endpointId
- The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId isabcde.veo
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointUrl
The URL of the endpoint.
- Parameters:
endpointUrl
- The URL of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the endpoint.
- Parameters:
state
- The current state of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the endpoint.
- Parameters:
state
- The current state of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason the endpoint is in its current state.
- Parameters:
stateReason
- The reason the endpoint is in its current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time the endpoint was created.
- Parameters:
creationTime
- The time the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The last time the endpoint was modified.
- Parameters:
lastModifiedTime
- The last time the endpoint was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-