Interface AwsEventsEndpointDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEventsEndpointDetails.Builder,AwsEventsEndpointDetails>,SdkBuilder<AwsEventsEndpointDetails.Builder,AwsEventsEndpointDetails>,SdkPojo
- Enclosing class:
- AwsEventsEndpointDetails
public static interface AwsEventsEndpointDetails.Builder extends SdkPojo, CopyableBuilder<AwsEventsEndpointDetails.Builder,AwsEventsEndpointDetails>
-
-
Method Summary
-
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
-
arn
AwsEventsEndpointDetails.Builder arn(String 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
AwsEventsEndpointDetails.Builder description(String 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
AwsEventsEndpointDetails.Builder endpointId(String endpointId)
The URL subdomain of the endpoint. For example, if
EndpointUrlishttps://abcde.veo.endpoints.event.amazonaws.com, then theEndpointIdisabcde.veo.- Parameters:
endpointId- The URL subdomain of the endpoint. For example, ifEndpointUrlishttps://abcde.veo.endpoints.event.amazonaws.com, then theEndpointIdisabcde.veo.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointUrl
AwsEventsEndpointDetails.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.
-
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
AwsEventsEndpointDetails.Builder eventBuses(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
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.Builderavoiding the need to create one manually viaAwsEventsEndpointEventBusesDetails.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 onAwsEventsEndpointEventBusesDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#eventBuses(java.util.Collection)
-
name
AwsEventsEndpointDetails.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.
-
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 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 isENABLED, which 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 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 aRoleArnor you don't want event replication enabled, set the state toDISABLED.AwsEventsEndpointReplicationConfigDetails.Builderavoiding the need to create one manually viaAwsEventsEndpointReplicationConfigDetails.builder().When the
Consumercompletes,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:
replicationConfig(AwsEventsEndpointReplicationConfigDetails)
-
roleArn
AwsEventsEndpointDetails.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.
-
routingConfig
AwsEventsEndpointDetails.Builder routingConfig(AwsEventsEndpointRoutingConfigDetails 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.Builderavoiding the need to create one manually viaAwsEventsEndpointRoutingConfigDetails.builder().When the
Consumercompletes,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:
routingConfig(AwsEventsEndpointRoutingConfigDetails)
-
state
AwsEventsEndpointDetails.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.
-
stateReason
AwsEventsEndpointDetails.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.
-
-