Interface GetDistributionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetDistributionsRequest.Builder,,GetDistributionsRequest> LightsailRequest.Builder,SdkBuilder<GetDistributionsRequest.Builder,,GetDistributionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetDistributionsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondistributionName(String distributionName) The name of the distribution for which to return information.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The token to advance to the next page of results from your request.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.lightsail.model.LightsailRequest.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
-
distributionName
The name of the distribution for which to return information.
When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.
- Parameters:
distributionName- The name of the distribution for which to return information.When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageToken
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetDistributionsrequest. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Parameters:
pageToken- The token to advance to the next page of results from your request.To get a page token, perform an initial
GetDistributionsrequest. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDistributionsRequest.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
GetDistributionsRequest.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.
-