Interface Endpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Endpoint.Builder,Endpoint>,SdkBuilder<Endpoint.Builder,Endpoint>,SdkPojo
- Enclosing class:
- Endpoint
public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Endpoint.Builderarn(String arn)The ARN of the endpoint.Endpoint.BuildercreationTime(Instant creationTime)The time the endpoint was created.Endpoint.Builderdescription(String description)A description for the endpoint.Endpoint.BuilderendpointId(String endpointId)The URL subdomain of the endpoint.Endpoint.BuilderendpointUrl(String endpointUrl)The URL of the endpoint.Endpoint.BuildereventBuses(Collection<EndpointEventBus> eventBuses)The event buses being used by the endpoint.Endpoint.BuildereventBuses(Consumer<EndpointEventBus.Builder>... eventBuses)The event buses being used by the endpoint.Endpoint.BuildereventBuses(EndpointEventBus... eventBuses)The event buses being used by the endpoint.Endpoint.BuilderlastModifiedTime(Instant lastModifiedTime)The last time the endpoint was modified.Endpoint.Buildername(String name)The name of the endpoint.default Endpoint.BuilderreplicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)Whether event replication was enabled or disabled for this endpoint.Endpoint.BuilderreplicationConfig(ReplicationConfig replicationConfig)Whether event replication was enabled or disabled for this endpoint.Endpoint.BuilderroleArn(String roleArn)The ARN of the role used by event replication for the endpoint.default Endpoint.BuilderroutingConfig(Consumer<RoutingConfig.Builder> routingConfig)The routing configuration of the endpoint.Endpoint.BuilderroutingConfig(RoutingConfig routingConfig)The routing configuration of the endpoint.Endpoint.Builderstate(String state)The current state of the endpoint.Endpoint.Builderstate(EndpointState state)The current state of the endpoint.Endpoint.BuilderstateReason(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 Detail
-
name
Endpoint.Builder name(String 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
Endpoint.Builder description(String 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
Endpoint.Builder arn(String 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
Endpoint.Builder routingConfig(RoutingConfig 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
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.Builderavoiding the need to create one manually viaRoutingConfig.builder().When the
Consumercompletes,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:
routingConfig(RoutingConfig)
-
replicationConfig
Endpoint.Builder replicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled for this endpoint. The default state is
ENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor 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 isENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor 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
default Endpoint.Builder replicationConfig(Consumer<ReplicationConfig.Builder> 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 theENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor you don't want event replication enabled, set the state toDISABLED.ReplicationConfig.Builderavoiding the need to create one manually viaReplicationConfig.builder().When the
Consumercompletes,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:
replicationConfig(ReplicationConfig)
-
eventBuses
Endpoint.Builder eventBuses(Collection<EndpointEventBus> 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
Endpoint.Builder eventBuses(EndpointEventBus... 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
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.Builderavoiding the need to create one manually viaEndpointEventBus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventBuses(List.) - 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:
#eventBuses(java.util.Collection)
-
roleArn
Endpoint.Builder roleArn(String 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
Endpoint.Builder endpointId(String 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
Endpoint.Builder endpointUrl(String 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
Endpoint.Builder state(String 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:
EndpointState,EndpointState
-
state
Endpoint.Builder state(EndpointState 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:
EndpointState,EndpointState
-
stateReason
Endpoint.Builder stateReason(String 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
Endpoint.Builder creationTime(Instant 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
Endpoint.Builder lastModifiedTime(Instant 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.
-
-