Interface ListLogGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<ListLogGroupsResponse.Builder,ListLogGroupsResponse>,SdkBuilder<ListLogGroupsResponse.Builder,ListLogGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListLogGroupsResponse
@Mutable @NotThreadSafe public static interface ListLogGroupsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<ListLogGroupsResponse.Builder,ListLogGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLogGroupsResponse.BuilderlogGroups(Collection<LogGroupSummary> logGroups)An array of structures, where each structure contains the information about one log group.ListLogGroupsResponse.BuilderlogGroups(Consumer<LogGroupSummary.Builder>... logGroups)An array of structures, where each structure contains the information about one log group.ListLogGroupsResponse.BuilderlogGroups(LogGroupSummary... logGroups)An array of structures, where each structure contains the information about one log group.ListLogGroupsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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 Detail
-
logGroups
ListLogGroupsResponse.Builder logGroups(Collection<LogGroupSummary> logGroups)
An array of structures, where each structure contains the information about one log group.
- Parameters:
logGroups- An array of structures, where each structure contains the information about one log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroups
ListLogGroupsResponse.Builder logGroups(LogGroupSummary... logGroups)
An array of structures, where each structure contains the information about one log group.
- Parameters:
logGroups- An array of structures, where each structure contains the information about one log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroups
ListLogGroupsResponse.Builder logGroups(Consumer<LogGroupSummary.Builder>... logGroups)
An array of structures, where each structure contains the information about one log group.
This is a convenience method that creates an instance of theLogGroupSummary.Builderavoiding the need to create one manually viaLogGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#logGroups(List.) - Parameters:
logGroups- a consumer that will call methods onLogGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#logGroups(java.util.Collection)
-
nextToken
ListLogGroupsResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-