Interface AwsEventsEndpointDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEventsEndpointDetails.Builder,
,AwsEventsEndpointDetails> SdkBuilder<AwsEventsEndpointDetails.Builder,
,AwsEventsEndpointDetails> SdkPojo
- Enclosing class:
AwsEventsEndpointDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the endpoint.description
(String description) A description of the endpoint.endpointId
(String endpointId) The URL subdomain of the endpoint.endpointUrl
(String endpointUrl) The URL of the endpoint.eventBuses
(Collection<AwsEventsEndpointEventBusesDetails> eventBuses) The event buses being used by the endpoint.eventBuses
(Consumer<AwsEventsEndpointEventBusesDetails.Builder>... eventBuses) The event buses being used by the endpoint.eventBuses
(AwsEventsEndpointEventBusesDetails... eventBuses) The event buses being used by the endpoint.The name of the endpoint.default AwsEventsEndpointDetails.Builder
replicationConfig
(Consumer<AwsEventsEndpointReplicationConfigDetails.Builder> replicationConfig) Whether event replication was enabled or disabled for this endpoint.replicationConfig
(AwsEventsEndpointReplicationConfigDetails replicationConfig) Whether event replication was enabled or disabled for this endpoint.The ARN of the role used by event replication for the endpoint.default AwsEventsEndpointDetails.Builder
routingConfig
(Consumer<AwsEventsEndpointRoutingConfigDetails.Builder> routingConfig) The routing configuration of the endpoint.routingConfig
(AwsEventsEndpointRoutingConfigDetails routingConfig) The routing configuration of the endpoint.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
-
arn
The Amazon Resource Name (ARN) of the endpoint.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the endpoint.
- Parameters:
description
- A description of 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
EndpointUrl
ishttps://abcde.veo.endpoints.event.amazonaws.com
, then theEndpointId
isabcde.veo
.- Parameters:
endpointId
- The URL subdomain of the endpoint. For example, ifEndpointUrl
ishttps://abcde.veo.endpoints.event.amazonaws.com
, then theEndpointId
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.
-
eventBuses
AwsEventsEndpointDetails.Builder eventBuses(Collection<AwsEventsEndpointEventBusesDetails> 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
AwsEventsEndpointDetails.Builder eventBuses(Consumer<AwsEventsEndpointEventBusesDetails.Builder>... eventBuses) The event buses being used by the endpoint.
This is a convenience method that creates an instance of theAwsEventsEndpointEventBusesDetails.Builder
avoiding the need to create one manually viaAwsEventsEndpointEventBusesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBuses(List<AwsEventsEndpointEventBusesDetails>)
.- Parameters:
eventBuses
- a consumer that will call methods onAwsEventsEndpointEventBusesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
replicationConfig
AwsEventsEndpointDetails.Builder replicationConfig(AwsEventsEndpointReplicationConfigDetails 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
default AwsEventsEndpointDetails.Builder replicationConfig(Consumer<AwsEventsEndpointReplicationConfigDetails.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 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
.AwsEventsEndpointReplicationConfigDetails.Builder
avoiding the need to create one manually viaAwsEventsEndpointReplicationConfigDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationConfig(AwsEventsEndpointReplicationConfigDetails)
.- Parameters:
replicationConfig
- a consumer that will call methods onAwsEventsEndpointReplicationConfigDetails.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.
-
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 AwsEventsEndpointDetails.Builder routingConfig(Consumer<AwsEventsEndpointRoutingConfigDetails.Builder> routingConfig) The routing configuration of the endpoint.
This is a convenience method that creates an instance of theAwsEventsEndpointRoutingConfigDetails.Builder
avoiding the need to create one manually viaAwsEventsEndpointRoutingConfigDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingConfig(AwsEventsEndpointRoutingConfigDetails)
.- Parameters:
routingConfig
- a consumer that will call methods onAwsEventsEndpointRoutingConfigDetails.Builder
- 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.
-
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.
-