Interface GetMalwareProtectionPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMalwareProtectionPlanResponse.Builder,
,GetMalwareProtectionPlanResponse> GuardDutyResponse.Builder
,SdkBuilder<GetMalwareProtectionPlanResponse.Builder,
,GetMalwareProtectionPlanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMalwareProtectionPlanResponse
-
Method Summary
Modifier and TypeMethodDescriptionInformation about whether the tags will be added to the S3 object after scanning.actions
(MalwareProtectionPlanActions actions) Information about whether the tags will be added to the S3 object after scanning.Amazon Resource Name (ARN) of the protected resource.The timestamp when the Malware Protection plan resource was created.protectedResource
(Consumer<CreateProtectedResource.Builder> protectedResource) Information about the protected resource that is associated with the created Malware Protection plan.protectedResource
(CreateProtectedResource protectedResource) Information about the protected resource that is associated with the created Malware Protection plan.Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource.Malware Protection plan status.status
(MalwareProtectionPlanStatus status) Malware Protection plan status.statusReasons
(Collection<MalwareProtectionPlanStatusReason> statusReasons) Information about the issue code and message associated to the status of your Malware Protection plan.statusReasons
(Consumer<MalwareProtectionPlanStatusReason.Builder>... statusReasons) Information about the issue code and message associated to the status of your Malware Protection plan.statusReasons
(MalwareProtectionPlanStatusReason... statusReasons) Information about the issue code and message associated to the status of your Malware Protection plan.Tags added to the Malware Protection plan resource.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
-
arn
Amazon Resource Name (ARN) of the protected resource.
- Parameters:
arn
- Amazon Resource Name (ARN) of the protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource.
- Parameters:
role
- Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResource
GetMalwareProtectionPlanResponse.Builder protectedResource(CreateProtectedResource protectedResource) Information about the protected resource that is associated with the created Malware Protection plan. Presently,
S3Bucket
is the only supported protected resource.- Parameters:
protectedResource
- Information about the protected resource that is associated with the created Malware Protection plan. Presently,S3Bucket
is the only supported protected resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResource
default GetMalwareProtectionPlanResponse.Builder protectedResource(Consumer<CreateProtectedResource.Builder> protectedResource) Information about the protected resource that is associated with the created Malware Protection plan. Presently,
This is a convenience method that creates an instance of theS3Bucket
is the only supported protected resource.CreateProtectedResource.Builder
avoiding the need to create one manually viaCreateProtectedResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotectedResource(CreateProtectedResource)
.- Parameters:
protectedResource
- a consumer that will call methods onCreateProtectedResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
Information about whether the tags will be added to the S3 object after scanning.
- Parameters:
actions
- Information about whether the tags will be added to the S3 object after scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
default GetMalwareProtectionPlanResponse.Builder actions(Consumer<MalwareProtectionPlanActions.Builder> actions) Information about whether the tags will be added to the S3 object after scanning.
This is a convenience method that creates an instance of theMalwareProtectionPlanActions.Builder
avoiding the need to create one manually viaMalwareProtectionPlanActions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(MalwareProtectionPlanActions)
.- Parameters:
actions
- a consumer that will call methods onMalwareProtectionPlanActions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the Malware Protection plan resource was created.
- Parameters:
createdAt
- The timestamp when the Malware Protection plan resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Malware Protection plan status.
- Parameters:
status
- Malware Protection plan status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Malware Protection plan status.
- Parameters:
status
- Malware Protection plan status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasons
GetMalwareProtectionPlanResponse.Builder statusReasons(Collection<MalwareProtectionPlanStatusReason> statusReasons) Information about the issue code and message associated to the status of your Malware Protection plan.
- Parameters:
statusReasons
- Information about the issue code and message associated to the status of your Malware Protection plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
GetMalwareProtectionPlanResponse.Builder statusReasons(MalwareProtectionPlanStatusReason... statusReasons) Information about the issue code and message associated to the status of your Malware Protection plan.
- Parameters:
statusReasons
- Information about the issue code and message associated to the status of your Malware Protection plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
GetMalwareProtectionPlanResponse.Builder statusReasons(Consumer<MalwareProtectionPlanStatusReason.Builder>... statusReasons) Information about the issue code and message associated to the status of your Malware Protection plan.
This is a convenience method that creates an instance of theMalwareProtectionPlanStatusReason.Builder
avoiding the need to create one manually viaMalwareProtectionPlanStatusReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusReasons(List<MalwareProtectionPlanStatusReason>)
.- Parameters:
statusReasons
- a consumer that will call methods onMalwareProtectionPlanStatusReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags added to the Malware Protection plan resource.
- Parameters:
tags
- Tags added to the Malware Protection plan resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-