Interface DescribeEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEndpointResponse.Builder,
,DescribeEndpointResponse> EventBridgeResponse.Builder
,SdkBuilder<DescribeEndpointResponse.Builder,
,DescribeEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEndpointResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the endpoint you asked for information about.creationTime
(Instant creationTime) The time the endpoint you asked for information about was created.description
(String description) The description of the endpoint you asked for information about.endpointId
(String endpointId) The ID of the endpoint you asked for information about.endpointUrl
(String endpointUrl) The URL of the endpoint you asked for information about.eventBuses
(Collection<EndpointEventBus> eventBuses) The event buses being used by the endpoint you asked for information about.eventBuses
(Consumer<EndpointEventBus.Builder>... eventBuses) The event buses being used by the endpoint you asked for information about.eventBuses
(EndpointEventBus... eventBuses) The event buses being used by the endpoint you asked for information about.lastModifiedTime
(Instant lastModifiedTime) The last time the endpoint you asked for information about was modified.The name of the endpoint you asked for information about.default DescribeEndpointResponse.Builder
replicationConfig
(Consumer<ReplicationConfig.Builder> replicationConfig) Whether replication is enabled or disabled for the endpoint you asked for information about.replicationConfig
(ReplicationConfig replicationConfig) Whether replication is enabled or disabled for the endpoint you asked for information about.The ARN of the role used by the endpoint you asked for information about.default DescribeEndpointResponse.Builder
routingConfig
(Consumer<RoutingConfig.Builder> routingConfig) The routing configuration of the endpoint you asked for information about.routingConfig
(RoutingConfig routingConfig) The routing configuration of the endpoint you asked for information about.The current state of the endpoint you asked for information about.state
(EndpointState state) The current state of the endpoint you asked for information about.stateReason
(String stateReason) The reason the endpoint you asked for information about is in its current state.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 Details
-
name
The name of the endpoint you asked for information about.
- Parameters:
name
- The name of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the endpoint you asked for information about.
- Parameters:
description
- The description of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the endpoint you asked for information about.
- Parameters:
arn
- The ARN of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The routing configuration of the endpoint you asked for information about.
- Parameters:
routingConfig
- The routing configuration of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
default DescribeEndpointResponse.Builder routingConfig(Consumer<RoutingConfig.Builder> routingConfig) The routing configuration of the endpoint you asked for information about.
This is a convenience method that creates an instance of theRoutingConfig.Builder
avoiding the need to create one manually viaRoutingConfig.builder()
.When the
Consumer
completes,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:
-
replicationConfig
Whether replication is enabled or disabled for the endpoint you asked for information about.
- Parameters:
replicationConfig
- Whether replication is enabled or disabled for the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfig
default DescribeEndpointResponse.Builder replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig) Whether replication is enabled or disabled for the endpoint you asked for information about.
This is a convenience method that creates an instance of theReplicationConfig.Builder
avoiding the need to create one manually viaReplicationConfig.builder()
.When the
Consumer
completes,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:
-
eventBuses
The event buses being used by the endpoint you asked for information about.
- Parameters:
eventBuses
- The event buses being used by the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
The event buses being used by the endpoint you asked for information about.
- Parameters:
eventBuses
- The event buses being used by the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
The event buses being used by the endpoint you asked for information about.
This is a convenience method that creates an instance of theEndpointEventBus.Builder
avoiding the need to create one manually viaEndpointEventBus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBuses(List<EndpointEventBus>)
.- 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:
-
roleArn
The ARN of the role used by the endpoint you asked for information about.
- Parameters:
roleArn
- The ARN of the role used by the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointId
The ID of the endpoint you asked for information about.
- Parameters:
endpointId
- The ID of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointUrl
The URL of the endpoint you asked for information about.
- Parameters:
endpointUrl
- The URL of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the endpoint you asked for information about.
- Parameters:
state
- The current state of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the endpoint you asked for information about.
- Parameters:
state
- The current state of the endpoint you asked for information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason the endpoint you asked for information about is in its current state.
- Parameters:
stateReason
- The reason the endpoint you asked for information about is in its current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time the endpoint you asked for information about was created.
- Parameters:
creationTime
- The time the endpoint you asked for information about was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The last time the endpoint you asked for information about was modified.
- Parameters:
lastModifiedTime
- The last time the endpoint you asked for information about was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-