Interface MetricDataError.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricDataError.Builder,MetricDataError>
,SdkBuilder<MetricDataError.Builder,MetricDataError>
,SdkPojo
- Enclosing class:
- MetricDataError
public static interface MetricDataError.Builder extends SdkPojo, CopyableBuilder<MetricDataError.Builder,MetricDataError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricDataError.Builder
code(String code)
The query error code.MetricDataError.Builder
code(QueryErrorCode code)
The query error code.MetricDataError.Builder
id(String id)
The query identifier.MetricDataError.Builder
message(String message)
The error message associated with the current query error.-
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, sdkFields
-
-
-
-
Method Detail
-
id
MetricDataError.Builder id(String id)
The query identifier.
- Parameters:
id
- The query identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
MetricDataError.Builder code(String code)
The query error code. Can be one of:
-
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries. -
ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
- Parameters:
code
- The query error code. Can be one of:-
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries. -
ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryErrorCode
,QueryErrorCode
-
-
code
MetricDataError.Builder code(QueryErrorCode code)
The query error code. Can be one of:
-
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries. -
ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
- Parameters:
code
- The query error code. Can be one of:-
INTERNAL_FAILURE
– Amazon SES has failed to process one of the queries. -
ACCESS_DENIED
– You have insufficient access to retrieve metrics based on the given query.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryErrorCode
,QueryErrorCode
-
-
message
MetricDataError.Builder message(String message)
The error message associated with the current query error.
- Parameters:
message
- The error message associated with the current query error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-