Interface RouteTransitIncident.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTransitIncident.Builder,,RouteTransitIncident> SdkBuilder<RouteTransitIncident.Builder,,RouteTransitIncident> SdkPojo
- Enclosing class:
RouteTransitIncident
@Mutable
@NotThreadSafe
public static interface RouteTransitIncident.Builder
extends SdkPojo, CopyableBuilder<RouteTransitIncident.Builder,RouteTransitIncident>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A human readable description of the incident.The effect of the incident on the transit service.effect(RouteTransitIncidentEffect effect) The effect of the incident on the transit service.The end time of the incident.The start time of the incident.Type of the incident.type(RouteTransitIncidentType type) Type of the incident.URL to the original incident published at the agency website.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A human readable description of the incident.
- Parameters:
description- A human readable description of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effect
The effect of the incident on the transit service.
- Parameters:
effect- The effect of the incident on the transit service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effect
The effect of the incident on the transit service.
- Parameters:
effect- The effect of the incident on the transit service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTime
The end time of the incident.
- Parameters:
endTime- The end time of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of the incident.
- Parameters:
startTime- The start time of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Type of the incident.
- Parameters:
type- Type of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of the incident.
- Parameters:
type- Type of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
url
URL to the original incident published at the agency website.
- Parameters:
url- URL to the original incident published at the agency website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-