Interface ListSyslogConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<ListSyslogConfigurationsResponse.Builder,,ListSyslogConfigurationsResponse> SdkBuilder<ListSyslogConfigurationsResponse.Builder,,ListSyslogConfigurationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSyslogConfigurationsResponse
@Mutable
@NotThreadSafe
public static interface ListSyslogConfigurationsResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<ListSyslogConfigurationsResponse.Builder,ListSyslogConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of items to return.syslogConfigurations(Collection<SyslogConfiguration> syslogConfigurations) The list of syslog configurations.syslogConfigurations(Consumer<SyslogConfiguration.Builder>... syslogConfigurations) The list of syslog configurations.syslogConfigurations(SyslogConfiguration... syslogConfigurations) The list of syslog configurations.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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
-
syslogConfigurations
ListSyslogConfigurationsResponse.Builder syslogConfigurations(Collection<SyslogConfiguration> syslogConfigurations) The list of syslog configurations.
- Parameters:
syslogConfigurations- The list of syslog configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syslogConfigurations
ListSyslogConfigurationsResponse.Builder syslogConfigurations(SyslogConfiguration... syslogConfigurations) The list of syslog configurations.
- Parameters:
syslogConfigurations- The list of syslog configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syslogConfigurations
ListSyslogConfigurationsResponse.Builder syslogConfigurations(Consumer<SyslogConfiguration.Builder>... syslogConfigurations) The list of syslog configurations.
This is a convenience method that creates an instance of theSyslogConfiguration.Builderavoiding the need to create one manually viaSyslogConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyslogConfigurations(List<SyslogConfiguration>).- Parameters:
syslogConfigurations- a consumer that will call methods onSyslogConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of items to return. The token expires after 24 hours.
- Parameters:
nextToken- The token for the next set of items to return. The token expires after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-