Interface PutDashboardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<PutDashboardResponse.Builder,,PutDashboardResponse> SdkBuilder<PutDashboardResponse.Builder,,PutDashboardResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutDashboardResponse
-
Method Summary
Modifier and TypeMethodDescriptiondashboardValidationMessages(Collection<DashboardValidationMessage> dashboardValidationMessages) If the input forPutDashboardwas correct and the dashboard was successfully created or modified, this result is empty.dashboardValidationMessages(Consumer<DashboardValidationMessage.Builder>... dashboardValidationMessages) If the input forPutDashboardwas correct and the dashboard was successfully created or modified, this result is empty.dashboardValidationMessages(DashboardValidationMessage... dashboardValidationMessages) If the input forPutDashboardwas 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, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dashboardValidationMessages
PutDashboardResponse.Builder dashboardValidationMessages(Collection<DashboardValidationMessage> dashboardValidationMessages) If the input for
PutDashboardwas 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 forPutDashboardwas 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
PutDashboardwas 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 forPutDashboardwas 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
PutDashboardwas 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.Builderavoiding the need to create one manually viaDashboardValidationMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todashboardValidationMessages(List<DashboardValidationMessage>).- 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:
-