Interface DescribeProblemResponse.Builder
- All Superinterfaces:
ApplicationInsightsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProblemResponse.Builder,
,DescribeProblemResponse> SdkBuilder<DescribeProblemResponse.Builder,
,DescribeProblemResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProblemResponse
@Mutable
@NotThreadSafe
public static interface DescribeProblemResponse.Builder
extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<DescribeProblemResponse.Builder,DescribeProblemResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeProblemResponse.Builder
problem
(Consumer<Problem.Builder> problem) Information about the problem.Information about the problem.snsNotificationArn
(String snsNotificationArn) The SNS notification topic ARN of the problem.Methods inherited from interface software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
problem
Information about the problem.
- Parameters:
problem
- Information about the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
problem
Information about the problem.
This is a convenience method that creates an instance of theProblem.Builder
avoiding the need to create one manually viaProblem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproblem(Problem)
.- Parameters:
problem
- a consumer that will call methods onProblem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snsNotificationArn
The SNS notification topic ARN of the problem.
- Parameters:
snsNotificationArn
- The SNS notification topic ARN of the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-