Class PublishingDestinationState.Builder

  • Enclosing class:
    PublishingDestinationState

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

      • destinationArn

        public PublishingDestinationState.Builder destinationArn​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> destinationArn)
        Parameters:
        destinationArn - Bucket ARN and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
        Returns:
        builder
      • destinationArn

        public PublishingDestinationState.Builder destinationArn​(java.lang.String destinationArn)
        Parameters:
        destinationArn - Bucket ARN and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
        Returns:
        builder
      • destinationId

        public PublishingDestinationState.Builder destinationId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> destinationId)
        Parameters:
        destinationId - Destination ID.
        Returns:
        builder
      • destinationId

        public PublishingDestinationState.Builder destinationId​(java.lang.String destinationId)
        Parameters:
        destinationId - Destination ID.
        Returns:
        builder
      • destinationType

        public PublishingDestinationState.Builder destinationType​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> destinationType)
        Parameters:
        destinationType - Currently there is only "S3" available as destination type which is also the default value
        Returns:
        builder
      • destinationType

        public PublishingDestinationState.Builder destinationType​(java.lang.String destinationType)
        Parameters:
        destinationType - Currently there is only "S3" available as destination type which is also the default value
        Returns:
        builder
      • detectorId

        public PublishingDestinationState.Builder detectorId​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> detectorId)
        Parameters:
        detectorId - Detector ID of the GuardDuty.
        Returns:
        builder
      • detectorId

        public PublishingDestinationState.Builder detectorId​(java.lang.String detectorId)
        Parameters:
        detectorId - Detector ID of the GuardDuty.
        Returns:
        builder
      • kmsKeyArn

        public PublishingDestinationState.Builder kmsKeyArn​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
        Returns:
        builder
      • kmsKeyArn

        public PublishingDestinationState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
        Returns:
        builder
      • region

        public PublishingDestinationState.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 PublishingDestinationState.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
      • tags

        public PublishingDestinationState.Builder tags​(@Nullable
                                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
        Returns:
        builder
      • tags

        public PublishingDestinationState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
        Returns:
        builder
      • tagsAll

        public PublishingDestinationState.Builder tagsAll​(@Nullable
                                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public PublishingDestinationState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder