Class MalwareProtectionPlanState.Builder

  • Enclosing class:
    MalwareProtectionPlanState

    public static final class MalwareProtectionPlanState.Builder
    extends java.lang.Object
    • Method Detail

      • 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
      • 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