Interface ListAnomalousLogGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAnomalousLogGroupsResponse.Builder,ListAnomalousLogGroupsResponse>,DevOpsGuruResponse.Builder,SdkBuilder<ListAnomalousLogGroupsResponse.Builder,ListAnomalousLogGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAnomalousLogGroupsResponse
public static interface ListAnomalousLogGroupsResponse.Builder extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<ListAnomalousLogGroupsResponse.Builder,ListAnomalousLogGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAnomalousLogGroupsResponse.BuilderanomalousLogGroups(Collection<AnomalousLogGroup> anomalousLogGroups)The list of Amazon CloudWatch log groups that are related to an insight.ListAnomalousLogGroupsResponse.BuilderanomalousLogGroups(Consumer<AnomalousLogGroup.Builder>... anomalousLogGroups)The list of Amazon CloudWatch log groups that are related to an insight.ListAnomalousLogGroupsResponse.BuilderanomalousLogGroups(AnomalousLogGroup... anomalousLogGroups)The list of Amazon CloudWatch log groups that are related to an insight.ListAnomalousLogGroupsResponse.BuilderinsightId(String insightId)The ID of the insight containing the log groups.ListAnomalousLogGroupsResponse.BuildernextToken(String nextToken)The pagination token to use to retrieve the next page of results for this operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
insightId
ListAnomalousLogGroupsResponse.Builder insightId(String insightId)
The ID of the insight containing the log groups.
- Parameters:
insightId- The ID of the insight containing the log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalousLogGroups
ListAnomalousLogGroupsResponse.Builder anomalousLogGroups(Collection<AnomalousLogGroup> anomalousLogGroups)
The list of Amazon CloudWatch log groups that are related to an insight.
- Parameters:
anomalousLogGroups- The list of Amazon CloudWatch log groups that are related to an insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalousLogGroups
ListAnomalousLogGroupsResponse.Builder anomalousLogGroups(AnomalousLogGroup... anomalousLogGroups)
The list of Amazon CloudWatch log groups that are related to an insight.
- Parameters:
anomalousLogGroups- The list of Amazon CloudWatch log groups that are related to an insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalousLogGroups
ListAnomalousLogGroupsResponse.Builder anomalousLogGroups(Consumer<AnomalousLogGroup.Builder>... anomalousLogGroups)
The list of Amazon CloudWatch log groups that are related to an insight.
This is a convenience method that creates an instance of theAnomalousLogGroup.Builderavoiding the need to create one manually viaAnomalousLogGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anomalousLogGroups(List.) - Parameters:
anomalousLogGroups- a consumer that will call methods onAnomalousLogGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#anomalousLogGroups(java.util.Collection)
-
nextToken
ListAnomalousLogGroupsResponse.Builder nextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-