Package com.pulumi.aws.guardduty.inputs
Class MalwareProtectionPlanState.Builder
- java.lang.Object
-
- com.pulumi.aws.guardduty.inputs.MalwareProtectionPlanState.Builder
-
- Enclosing class:
- MalwareProtectionPlanState
public static final class MalwareProtectionPlanState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MalwareProtectionPlanState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MalwareProtectionPlanState defaults)
-
-
Method Detail
-
actions
public MalwareProtectionPlanState.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 MalwareProtectionPlanState.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 MalwareProtectionPlanState.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
-
arn
public MalwareProtectionPlanState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the GuardDuty malware protection plan- Returns:
- builder
-
arn
public MalwareProtectionPlanState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the GuardDuty malware protection plan- Returns:
- builder
-
createdAt
public MalwareProtectionPlanState.Builder createdAt(@Nullable com.pulumi.core.Output<java.lang.String> createdAt)
- Parameters:
createdAt- Timestamp when the Malware Protection plan resource was created.- Returns:
- builder
-
createdAt
public MalwareProtectionPlanState.Builder createdAt(java.lang.String createdAt)
- Parameters:
createdAt- Timestamp when the Malware Protection plan resource was created.- Returns:
- builder
-
protectedResource
public MalwareProtectionPlanState.Builder protectedResource(@Nullable 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 MalwareProtectionPlanState.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 MalwareProtectionPlanState.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 MalwareProtectionPlanState.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 MalwareProtectionPlanState.Builder role(@Nullable 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 MalwareProtectionPlanState.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
-
status
public MalwareProtectionPlanState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status- GuardDuty malware protection plan status. Valid values are `ACTIVE`, `WARNING`, and `ERROR`.- Returns:
- builder
-
status
public MalwareProtectionPlanState.Builder status(java.lang.String status)
- Parameters:
status- GuardDuty malware protection plan status. Valid values are `ACTIVE`, `WARNING`, and `ERROR`.- Returns:
- builder
-
tags
public MalwareProtectionPlanState.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 MalwareProtectionPlanState.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
-
tagsAll
public MalwareProtectionPlanState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
-
tagsAll
public MalwareProtectionPlanState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
build
public MalwareProtectionPlanState build()
-
-