Interface PutDashboardResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<PutDashboardResponse.Builder,PutDashboardResponse>
,SdkBuilder<PutDashboardResponse.Builder,PutDashboardResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- PutDashboardResponse
public static interface PutDashboardResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<PutDashboardResponse.Builder,PutDashboardResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDashboardResponse.Builder
dashboardValidationMessages(Collection<DashboardValidationMessage> dashboardValidationMessages)
If the input forPutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.PutDashboardResponse.Builder
dashboardValidationMessages(Consumer<DashboardValidationMessage.Builder>... dashboardValidationMessages)
If the input forPutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.PutDashboardResponse.Builder
dashboardValidationMessages(DashboardValidationMessage... dashboardValidationMessages)
If the input forPutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dashboardValidationMessages
PutDashboardResponse.Builder dashboardValidationMessages(Collection<DashboardValidationMessage> dashboardValidationMessages)
If the input for
PutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard might not render.
If this result includes error messages, the input was not valid and the operation failed.
- Parameters:
dashboardValidationMessages
- If the input forPutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard might not render.
If this result includes error messages, the input was not valid and the operation failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardValidationMessages
PutDashboardResponse.Builder dashboardValidationMessages(DashboardValidationMessage... dashboardValidationMessages)
If the input for
PutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard might not render.
If this result includes error messages, the input was not valid and the operation failed.
- Parameters:
dashboardValidationMessages
- If the input forPutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard might not render.
If this result includes error messages, the input was not valid and the operation failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardValidationMessages
PutDashboardResponse.Builder dashboardValidationMessages(Consumer<DashboardValidationMessage.Builder>... dashboardValidationMessages)
If the input for
PutDashboard
was correct and the dashboard was successfully created or modified, this result is empty.If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard might not render.
If this result includes error messages, the input was not valid and the operation failed.
This is a convenience method that creates an instance of theDashboardValidationMessage.Builder
avoiding the need to create one manually viaDashboardValidationMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dashboardValidationMessages(List
.) - Parameters:
dashboardValidationMessages
- a consumer that will call methods onDashboardValidationMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dashboardValidationMessages(java.util.Collection
)
-
-