Interface DescribeConfigurationTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<DescribeConfigurationTemplatesResponse.Builder,
,DescribeConfigurationTemplatesResponse> SdkBuilder<DescribeConfigurationTemplatesResponse.Builder,
,DescribeConfigurationTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeConfigurationTemplatesResponse
public static interface DescribeConfigurationTemplatesResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeConfigurationTemplatesResponse.Builder,DescribeConfigurationTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationTemplates
(Collection<ConfigurationTemplate> configurationTemplates) An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.configurationTemplates
(Consumer<ConfigurationTemplate.Builder>... configurationTemplates) An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.configurationTemplates
(ConfigurationTemplate... configurationTemplates) An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configurationTemplates
DescribeConfigurationTemplatesResponse.Builder configurationTemplates(Collection<ConfigurationTemplate> configurationTemplates) An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.
- Parameters:
configurationTemplates
- An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationTemplates
DescribeConfigurationTemplatesResponse.Builder configurationTemplates(ConfigurationTemplate... configurationTemplates) An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.
- Parameters:
configurationTemplates
- An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationTemplates
DescribeConfigurationTemplatesResponse.Builder configurationTemplates(Consumer<ConfigurationTemplate.Builder>... configurationTemplates) An array of objects, where each object describes one configuration template that matches the filters that you specified in the request.
This is a convenience method that creates an instance of theConfigurationTemplate.Builder
avoiding the need to create one manually viaConfigurationTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationTemplates(List<ConfigurationTemplate>)
.- Parameters:
configurationTemplates
- a consumer that will call methods onConfigurationTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-