Interface GetExclusionsPreviewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetExclusionsPreviewResponse.Builder,,GetExclusionsPreviewResponse> InspectorResponse.Builder,SdkBuilder<GetExclusionsPreviewResponse.Builder,,GetExclusionsPreviewResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetExclusionsPreviewResponse
-
Method Summary
Modifier and TypeMethodDescriptionexclusionPreviews(Collection<ExclusionPreview> exclusionPreviews) Information about the exclusions included in the preview.exclusionPreviews(Consumer<ExclusionPreview.Builder>... exclusionPreviews) Information about the exclusions included in the preview.exclusionPreviews(ExclusionPreview... exclusionPreviews) Information about the exclusions included in the preview.When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request.previewStatus(String previewStatus) Specifies the status of the request to generate an exclusions preview.previewStatus(PreviewStatus previewStatus) Specifies the status of the request to generate an exclusions preview.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
previewStatus
Specifies the status of the request to generate an exclusions preview.
- Parameters:
previewStatus- Specifies the status of the request to generate an exclusions preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previewStatus
Specifies the status of the request to generate an exclusions preview.
- Parameters:
previewStatus- Specifies the status of the request to generate an exclusions preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exclusionPreviews
GetExclusionsPreviewResponse.Builder exclusionPreviews(Collection<ExclusionPreview> exclusionPreviews) Information about the exclusions included in the preview.
- Parameters:
exclusionPreviews- Information about the exclusions included in the preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionPreviews
Information about the exclusions included in the preview.
- Parameters:
exclusionPreviews- Information about the exclusions included in the preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusionPreviews
GetExclusionsPreviewResponse.Builder exclusionPreviews(Consumer<ExclusionPreview.Builder>... exclusionPreviews) Information about the exclusions included in the preview.
This is a convenience method that creates an instance of theExclusionPreview.Builderavoiding the need to create one manually viaExclusionPreview.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexclusionPreviews(List<ExclusionPreview>).- Parameters:
exclusionPreviews- a consumer that will call methods onExclusionPreview.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
- Parameters:
nextToken- When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-