Interface GetExclusionsPreviewResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetExclusionsPreviewResponse.Builder,GetExclusionsPreviewResponse>,InspectorResponse.Builder,SdkBuilder<GetExclusionsPreviewResponse.Builder,GetExclusionsPreviewResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetExclusionsPreviewResponse
public static interface GetExclusionsPreviewResponse.Builder extends InspectorResponse.Builder, SdkPojo, CopyableBuilder<GetExclusionsPreviewResponse.Builder,GetExclusionsPreviewResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetExclusionsPreviewResponse.BuilderexclusionPreviews(Collection<ExclusionPreview> exclusionPreviews)Information about the exclusions included in the preview.GetExclusionsPreviewResponse.BuilderexclusionPreviews(Consumer<ExclusionPreview.Builder>... exclusionPreviews)Information about the exclusions included in the preview.GetExclusionsPreviewResponse.BuilderexclusionPreviews(ExclusionPreview... exclusionPreviews)Information about the exclusions included in the preview.GetExclusionsPreviewResponse.BuildernextToken(String 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.GetExclusionsPreviewResponse.BuilderpreviewStatus(String previewStatus)Specifies the status of the request to generate an exclusions preview.GetExclusionsPreviewResponse.BuilderpreviewStatus(PreviewStatus previewStatus)Specifies the status of the request to generate an exclusions preview.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
previewStatus
GetExclusionsPreviewResponse.Builder previewStatus(String 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,PreviewStatus
-
previewStatus
GetExclusionsPreviewResponse.Builder previewStatus(PreviewStatus 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,PreviewStatus
-
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
GetExclusionsPreviewResponse.Builder exclusionPreviews(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
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 to#exclusionPreviews(List.) - 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:
#exclusionPreviews(java.util.Collection)
-
nextToken
GetExclusionsPreviewResponse.Builder nextToken(String 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.
-
-