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
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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
-
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.Builderavoiding the need to create one manually viaMalwareProtectionPlanSummary.builder().When the
Consumercompletes,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
NextTokenfrom 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 ofNextTokenfrom the previous response to continue listing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-