Interface DescribeEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeEventsRequest.Builder,,DescribeEventsRequest> OpsWorksCmRequest.Builder,SdkBuilder<DescribeEventsRequest.Builder,,DescribeEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeEventsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.NextToken is a string that is returned in some command responses.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverName(String serverName) The name of the server for which you want to view events.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serverName
The name of the server for which you want to view events.
- Parameters:
serverName- The name of the server for which you want to view events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeEventsagain, and assign the token from the previous results as the value of thenextTokenparameter. If there are no more results, the response object'snextTokenparameter value isnull. Setting anextTokenvalue that was not returned in your previous results causes anInvalidNextTokenExceptionto occur.- Parameters:
nextToken- NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, callDescribeEventsagain, and assign the token from the previous results as the value of thenextTokenparameter. If there are no more results, the response object'snextTokenparameter value isnull. Setting anextTokenvalue that was not returned in your previous results causes anInvalidNextTokenExceptionto occur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results.- Parameters:
maxResults- To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes aNextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-