Class FlowLogState.Builder

  • Enclosing class:
    FlowLogState

    public static final class FlowLogState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public FlowLogState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the Flow Log.
        Returns:
        builder
      • arn

        public FlowLogState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the Flow Log.
        Returns:
        builder
      • destinationOptions

        public FlowLogState.Builder destinationOptions​(@Nullable
                                                       com.pulumi.core.Output<FlowLogDestinationOptionsArgs> destinationOptions)
        Parameters:
        destinationOptions - Describes the destination options for a flow log. More details below.
        Returns:
        builder
      • eniId

        public FlowLogState.Builder eniId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> eniId)
        Parameters:
        eniId - Elastic Network Interface ID to attach to
        Returns:
        builder
      • eniId

        public FlowLogState.Builder eniId​(java.lang.String eniId)
        Parameters:
        eniId - Elastic Network Interface ID to attach to
        Returns:
        builder
      • iamRoleArn

        public FlowLogState.Builder iamRoleArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> iamRoleArn)
        Parameters:
        iamRoleArn - The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group
        Returns:
        builder
      • iamRoleArn

        public FlowLogState.Builder iamRoleArn​(java.lang.String iamRoleArn)
        Parameters:
        iamRoleArn - The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs log group
        Returns:
        builder
      • logDestination

        public FlowLogState.Builder logDestination​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> logDestination)
        Parameters:
        logDestination - The ARN of the logging destination.
        Returns:
        builder
      • logDestination

        public FlowLogState.Builder logDestination​(java.lang.String logDestination)
        Parameters:
        logDestination - The ARN of the logging destination.
        Returns:
        builder
      • logDestinationType

        public FlowLogState.Builder logDestinationType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> logDestinationType)
        Parameters:
        logDestinationType - The type of the logging destination. Valid values: `cloud-watch-logs`, `s3`. Default: `cloud-watch-logs`.
        Returns:
        builder
      • logDestinationType

        public FlowLogState.Builder logDestinationType​(java.lang.String logDestinationType)
        Parameters:
        logDestinationType - The type of the logging destination. Valid values: `cloud-watch-logs`, `s3`. Default: `cloud-watch-logs`.
        Returns:
        builder
      • logFormat

        public FlowLogState.Builder logFormat​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> logFormat)
        Parameters:
        logFormat - The fields to include in the flow log record, in the order in which they should appear.
        Returns:
        builder
      • logFormat

        public FlowLogState.Builder logFormat​(java.lang.String logFormat)
        Parameters:
        logFormat - The fields to include in the flow log record, in the order in which they should appear.
        Returns:
        builder
      • logGroupName

        @Deprecated
        public FlowLogState.Builder logGroupName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> logGroupName)
        Deprecated.
        use 'log_destination' argument instead
        Parameters:
        logGroupName - *Deprecated:* Use `log_destination` instead. The name of the CloudWatch log group.
        Returns:
        builder
      • logGroupName

        @Deprecated
        public FlowLogState.Builder logGroupName​(java.lang.String logGroupName)
        Deprecated.
        use 'log_destination' argument instead
        Parameters:
        logGroupName - *Deprecated:* Use `log_destination` instead. The name of the CloudWatch log group.
        Returns:
        builder
      • maxAggregationInterval

        public FlowLogState.Builder maxAggregationInterval​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> maxAggregationInterval)
        Parameters:
        maxAggregationInterval - The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: `60` seconds (1 minute) or `600` seconds (10 minutes). Default: `600`.
        Returns:
        builder
      • maxAggregationInterval

        public FlowLogState.Builder maxAggregationInterval​(java.lang.Integer maxAggregationInterval)
        Parameters:
        maxAggregationInterval - The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: `60` seconds (1 minute) or `600` seconds (10 minutes). Default: `600`.
        Returns:
        builder
      • subnetId

        public FlowLogState.Builder subnetId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - Subnet ID to attach to
        Returns:
        builder
      • subnetId

        public FlowLogState.Builder subnetId​(java.lang.String subnetId)
        Parameters:
        subnetId - Subnet ID to attach to
        Returns:
        builder
      • tags

        public FlowLogState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public FlowLogState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        public FlowLogState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider .
        Returns:
        builder
      • trafficType

        public FlowLogState.Builder trafficType​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> trafficType)
        Parameters:
        trafficType - The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`.
        Returns:
        builder
      • trafficType

        public FlowLogState.Builder trafficType​(java.lang.String trafficType)
        Parameters:
        trafficType - The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`.
        Returns:
        builder
      • vpcId

        public FlowLogState.Builder vpcId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - VPC ID to attach to
        Returns:
        builder
      • vpcId

        public FlowLogState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - VPC ID to attach to
        Returns:
        builder