Package com.pulumi.aws.guardduty
Class MalwareProtectionPlanArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.guardduty.MalwareProtectionPlanArgs.Builder
-
- Enclosing class:
- MalwareProtectionPlanArgs
public static final class MalwareProtectionPlanArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MalwareProtectionPlanArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MalwareProtectionPlanArgs defaults)
-
-
Method Detail
-
actions
public MalwareProtectionPlanArgs.Builder actions(@Nullable com.pulumi.core.Output<java.util.List<MalwareProtectionPlanActionArgs>> actions)
- Parameters:
actions- Information about whether the tags will be added to the S3 object after scanning. See `actions` below.- Returns:
- builder
-
actions
public MalwareProtectionPlanArgs.Builder actions(java.util.List<MalwareProtectionPlanActionArgs> actions)
- Parameters:
actions- Information about whether the tags will be added to the S3 object after scanning. See `actions` below.- Returns:
- builder
-
actions
public MalwareProtectionPlanArgs.Builder actions(MalwareProtectionPlanActionArgs... actions)
- Parameters:
actions- Information about whether the tags will be added to the S3 object after scanning. See `actions` below.- Returns:
- builder
-
protectedResource
public MalwareProtectionPlanArgs.Builder protectedResource(com.pulumi.core.Output<MalwareProtectionPlanProtectedResourceArgs> protectedResource)
- Parameters:
protectedResource- Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.- Returns:
- builder
-
protectedResource
public MalwareProtectionPlanArgs.Builder protectedResource(MalwareProtectionPlanProtectedResourceArgs protectedResource)
- Parameters:
protectedResource- Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.- Returns:
- builder
-
region
public MalwareProtectionPlanArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public MalwareProtectionPlanArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
role
public MalwareProtectionPlanArgs.Builder role(com.pulumi.core.Output<java.lang.String> role)
- Parameters:
role- ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.- Returns:
- builder
-
role
public MalwareProtectionPlanArgs.Builder role(java.lang.String role)
- Parameters:
role- ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.- Returns:
- builder
-
tags
public MalwareProtectionPlanArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public MalwareProtectionPlanArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public MalwareProtectionPlanArgs build()
-
-