Interface GetInternetEventResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInternetEventResponse.Builder,
,GetInternetEventResponse> InternetMonitorResponse.Builder
,SdkBuilder<GetInternetEventResponse.Builder,
,GetInternetEventResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetInternetEventResponse
public static interface GetInternetEventResponse.Builder
extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetInternetEventResponse.Builder,GetInternetEventResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetInternetEventResponse.Builder
clientLocation
(Consumer<ClientLocation.Builder> clientLocation) The impacted location, such as a city, where clients access Amazon Web Services application resources.clientLocation
(ClientLocation clientLocation) The impacted location, such as a city, where clients access Amazon Web Services application resources.The time when the internet event ended.The Amazon Resource Name (ARN) of the internet event.The internally-generated identifier of an internet event.eventStatus
(String eventStatus) The status of the internet event.eventStatus
(InternetEventStatus eventStatus) The status of the internet event.The type of network impairment.eventType
(InternetEventType eventType) The type of network impairment.The time when the internet event started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorResponse.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
-
eventId
The internally-generated identifier of an internet event.
- Parameters:
eventId
- The internally-generated identifier of an internet event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventArn
The Amazon Resource Name (ARN) of the internet event.
- Parameters:
eventArn
- The Amazon Resource Name (ARN) of the internet event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time when the internet event started.
- Parameters:
startedAt
- The time when the internet event started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time when the internet event ended. If the event hasn't ended yet, this value is empty.
- Parameters:
endedAt
- The time when the internet event ended. If the event hasn't ended yet, this value is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientLocation
The impacted location, such as a city, where clients access Amazon Web Services application resources.
- Parameters:
clientLocation
- The impacted location, such as a city, where clients access Amazon Web Services application resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientLocation
default GetInternetEventResponse.Builder clientLocation(Consumer<ClientLocation.Builder> clientLocation) The impacted location, such as a city, where clients access Amazon Web Services application resources.
This is a convenience method that creates an instance of theClientLocation.Builder
avoiding the need to create one manually viaClientLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientLocation(ClientLocation)
.- Parameters:
clientLocation
- a consumer that will call methods onClientLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The type of network impairment.
- Parameters:
eventType
- The type of network impairment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The type of network impairment.
- Parameters:
eventType
- The type of network impairment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatus
The status of the internet event.
- Parameters:
eventStatus
- The status of the internet event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventStatus
The status of the internet event.
- Parameters:
eventStatus
- The status of the internet event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-