Interface ListMalwareProtectionPlansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMalwareProtectionPlansResponse.Builder,
,ListMalwareProtectionPlansResponse> GuardDutyResponse.Builder
,SdkBuilder<ListMalwareProtectionPlansResponse.Builder,
,ListMalwareProtectionPlansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMalwareProtectionPlansResponse
public static interface ListMalwareProtectionPlansResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListMalwareProtectionPlansResponse.Builder,ListMalwareProtectionPlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmalwareProtectionPlans
(Collection<MalwareProtectionPlanSummary> malwareProtectionPlans) A list of unique identifiers associated with each Malware Protection plan.malwareProtectionPlans
(Consumer<MalwareProtectionPlanSummary.Builder>... malwareProtectionPlans) A list of unique identifiers associated with each Malware Protection plan.malwareProtectionPlans
(MalwareProtectionPlanSummary... malwareProtectionPlans) A list of unique identifiers associated with each Malware Protection plan.You can use this parameter when paginating results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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 Details
-
malwareProtectionPlans
ListMalwareProtectionPlansResponse.Builder malwareProtectionPlans(Collection<MalwareProtectionPlanSummary> malwareProtectionPlans) A list of unique identifiers associated with each Malware Protection plan.
- Parameters:
malwareProtectionPlans
- A list of unique identifiers associated with each Malware Protection plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
malwareProtectionPlans
ListMalwareProtectionPlansResponse.Builder malwareProtectionPlans(MalwareProtectionPlanSummary... malwareProtectionPlans) A list of unique identifiers associated with each Malware Protection plan.
- Parameters:
malwareProtectionPlans
- A list of unique identifiers associated with each Malware Protection plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
malwareProtectionPlans
ListMalwareProtectionPlansResponse.Builder malwareProtectionPlans(Consumer<MalwareProtectionPlanSummary.Builder>... malwareProtectionPlans) A list of unique identifiers associated with each Malware Protection plan.
This is a convenience method that creates an instance of theMalwareProtectionPlanSummary.Builder
avoiding the need to create one manually viaMalwareProtectionPlanSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomalwareProtectionPlans(List<MalwareProtectionPlanSummary>)
.- Parameters:
malwareProtectionPlans
- a consumer that will call methods onMalwareProtectionPlanSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of
NextToken
from the previous response to continue listing data.- Parameters:
nextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value ofNextToken
from the previous response to continue listing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-