Interface CreateEndpointResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEndpointResponse.Builder,CreateEndpointResponse>,EventBridgeResponse.Builder,SdkBuilder<CreateEndpointResponse.Builder,CreateEndpointResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateEndpointResponse
public static interface CreateEndpointResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<CreateEndpointResponse.Builder,CreateEndpointResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEndpointResponse.Builderarn(String arn)The ARN of the endpoint that was created by this request.CreateEndpointResponse.BuildereventBuses(Collection<EndpointEventBus> eventBuses)The event buses used by this request.CreateEndpointResponse.BuildereventBuses(Consumer<EndpointEventBus.Builder>... eventBuses)The event buses used by this request.CreateEndpointResponse.BuildereventBuses(EndpointEventBus... eventBuses)The event buses used by this request.CreateEndpointResponse.Buildername(String name)The name of the endpoint that was created by this request.default CreateEndpointResponse.BuilderreplicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)Whether event replication was enabled or disabled by this request.CreateEndpointResponse.BuilderreplicationConfig(ReplicationConfig replicationConfig)Whether event replication was enabled or disabled by this request.CreateEndpointResponse.BuilderroleArn(String roleArn)The ARN of the role used by event replication for this request.default CreateEndpointResponse.BuilderroutingConfig(Consumer<RoutingConfig.Builder> routingConfig)The routing configuration defined by this request.CreateEndpointResponse.BuilderroutingConfig(RoutingConfig routingConfig)The routing configuration defined by this request.CreateEndpointResponse.Builderstate(String state)The state of the endpoint that was created by this request.CreateEndpointResponse.Builderstate(EndpointState state)The state of the endpoint that was created by this request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
CreateEndpointResponse.Builder name(String name)
The name of the endpoint that was created by this request.
- Parameters:
name- The name of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
CreateEndpointResponse.Builder arn(String arn)
The ARN of the endpoint that was created by this request.
- Parameters:
arn- The ARN of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
CreateEndpointResponse.Builder routingConfig(RoutingConfig routingConfig)
The routing configuration defined by this request.
- Parameters:
routingConfig- The routing configuration defined by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
default CreateEndpointResponse.Builder routingConfig(Consumer<RoutingConfig.Builder> routingConfig)
The routing configuration defined by this request.
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
CreateEndpointResponse.Builder replicationConfig(ReplicationConfig replicationConfig)
Whether event replication was enabled or disabled by this request.
- Parameters:
replicationConfig- Whether event replication was enabled or disabled by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfig
default CreateEndpointResponse.Builder replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)
Whether event replication was enabled or disabled by this request.
This is a convenience method that creates an instance of theReplicationConfig.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
CreateEndpointResponse.Builder eventBuses(Collection<EndpointEventBus> eventBuses)
The event buses used by this request.
- Parameters:
eventBuses- The event buses used by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
CreateEndpointResponse.Builder eventBuses(EndpointEventBus... eventBuses)
The event buses used by this request.
- Parameters:
eventBuses- The event buses used by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
CreateEndpointResponse.Builder eventBuses(Consumer<EndpointEventBus.Builder>... eventBuses)
The event buses used by this request.
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
CreateEndpointResponse.Builder roleArn(String roleArn)
The ARN of the role used by event replication for this request.
- Parameters:
roleArn- The ARN of the role used by event replication for this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
CreateEndpointResponse.Builder state(String state)
The state of the endpoint that was created by this request.
- Parameters:
state- The state of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointState,EndpointState
-
state
CreateEndpointResponse.Builder state(EndpointState state)
The state of the endpoint that was created by this request.
- Parameters:
state- The state of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointState,EndpointState
-
-