Interface RouteVehicleNotice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteVehicleNotice.Builder,
,RouteVehicleNotice> SdkBuilder<RouteVehicleNotice.Builder,
,RouteVehicleNotice> SdkPojo
- Enclosing class:
RouteVehicleNotice
@Mutable
@NotThreadSafe
public static interface RouteVehicleNotice.Builder
extends SdkPojo, CopyableBuilder<RouteVehicleNotice.Builder,RouteVehicleNotice>
-
Method Summary
Modifier and TypeMethodDescriptionCode corresponding to the issue.code
(RouteVehicleNoticeCode code) Code corresponding to the issue.details
(Collection<RouteVehicleNoticeDetail> details) Additional details of the notice.details
(Consumer<RouteVehicleNoticeDetail.Builder>... details) Additional details of the notice.details
(RouteVehicleNoticeDetail... details) Additional details of the notice.Impact corresponding to the issue.impact
(RouteNoticeImpact impact) Impact corresponding to the issue.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, sdkFieldNameToField, sdkFields
-
Method Details
-
code
Code corresponding to the issue.
- Parameters:
code
- Code corresponding to the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
Code corresponding to the issue.
- Parameters:
code
- Code corresponding to the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
details
Additional details of the notice.
- Parameters:
details
- Additional details of the notice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Additional details of the notice.
- Parameters:
details
- Additional details of the notice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Additional details of the notice.
This is a convenience method that creates an instance of theRouteVehicleNoticeDetail.Builder
avoiding the need to create one manually viaRouteVehicleNoticeDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(List<RouteVehicleNoticeDetail>)
.- Parameters:
details
- a consumer that will call methods onRouteVehicleNoticeDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impact
Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.
- Parameters:
impact
- Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impact
Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.
- Parameters:
impact
- Impact corresponding to the issue. While Low impact notices can be safely ignored, High impact notices must be evaluated further to determine the impact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-