public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
Modifier and Type | Method and Description |
---|---|
Endpoint.Builder |
arn(String arn)
The ARN of the endpoint.
|
Endpoint.Builder |
creationTime(Instant creationTime)
The time the endpoint was created.
|
Endpoint.Builder |
description(String description)
A description for the endpoint.
|
Endpoint.Builder |
endpointId(String endpointId)
The URL subdomain of the endpoint.
|
Endpoint.Builder |
endpointUrl(String endpointUrl)
The URL of the endpoint.
|
Endpoint.Builder |
eventBuses(Collection<EndpointEventBus> eventBuses)
The event buses being used by the endpoint.
|
Endpoint.Builder |
eventBuses(Consumer<EndpointEventBus.Builder>... eventBuses)
The event buses being used by the endpoint.
|
Endpoint.Builder |
eventBuses(EndpointEventBus... eventBuses)
The event buses being used by the endpoint.
|
Endpoint.Builder |
lastModifiedTime(Instant lastModifiedTime)
The last time the endpoint was modified.
|
Endpoint.Builder |
name(String name)
The name of the endpoint.
|
default Endpoint.Builder |
replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
|
Endpoint.Builder |
replicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
|
Endpoint.Builder |
roleArn(String roleArn)
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.
|
Endpoint.Builder |
routingConfig(RoutingConfig routingConfig)
The routing configuration of the endpoint.
|
Endpoint.Builder |
state(EndpointState state)
The current state of the endpoint.
|
Endpoint.Builder |
state(String state)
The current state of the endpoint.
|
Endpoint.Builder |
stateReason(String stateReason)
The reason the endpoint is in its current state.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Endpoint.Builder name(String name)
The name of the endpoint.
name
- The name of the endpoint.Endpoint.Builder description(String description)
A description for the endpoint.
description
- A description for the endpoint.Endpoint.Builder arn(String arn)
The ARN of the endpoint.
arn
- The ARN of the endpoint.Endpoint.Builder routingConfig(RoutingConfig routingConfig)
The routing configuration of the endpoint.
routingConfig
- The routing configuration of the endpoint.default Endpoint.Builder routingConfig(Consumer<RoutingConfig.Builder> 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 via RoutingConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to routingConfig(RoutingConfig)
.
routingConfig
- a consumer that will call methods on RoutingConfig.Builder
routingConfig(RoutingConfig)
Endpoint.Builder replicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
replicationConfig
- Whether event replication was enabled or disabled for this endpoint.default Endpoint.Builder replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
This is a convenience method that creates an instance of theReplicationConfig.Builder
avoiding the
need to create one manually via ReplicationConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to replicationConfig(ReplicationConfig)
.
replicationConfig
- a consumer that will call methods on ReplicationConfig.Builder
replicationConfig(ReplicationConfig)
Endpoint.Builder eventBuses(Collection<EndpointEventBus> eventBuses)
The event buses being used by the endpoint.
eventBuses
- The event buses being used by the endpoint.Endpoint.Builder eventBuses(EndpointEventBus... eventBuses)
The event buses being used by the endpoint.
eventBuses
- The event buses being used by the endpoint.Endpoint.Builder eventBuses(Consumer<EndpointEventBus.Builder>... 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 via EndpointEventBus.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #eventBuses(List
.
eventBuses
- a consumer that will call methods on
EndpointEventBus.Builder
#eventBuses(java.util.Collection)
Endpoint.Builder roleArn(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.Endpoint.Builder endpointId(String endpointId)
The URL subdomain of the endpoint. For example, if the URL for Endpoint is
abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
endpointId
- The URL subdomain of the endpoint. For example, if the URL for Endpoint is
abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.Endpoint.Builder endpointUrl(String endpointUrl)
The URL of the endpoint.
endpointUrl
- The URL of the endpoint.Endpoint.Builder state(String state)
The current state of the endpoint.
state
- The current state of the endpoint.EndpointState
,
EndpointState
Endpoint.Builder state(EndpointState state)
The current state of the endpoint.
state
- The current state of the endpoint.EndpointState
,
EndpointState
Endpoint.Builder stateReason(String stateReason)
The reason the endpoint is in its current state.
stateReason
- The reason the endpoint is in its current state.Endpoint.Builder creationTime(Instant creationTime)
The time the endpoint was created.
creationTime
- The time the endpoint was created.Endpoint.Builder lastModifiedTime(Instant lastModifiedTime)
The last time the endpoint was modified.
lastModifiedTime
- The last time the endpoint was modified.Copyright © 2022. All rights reserved.