Class TrafficMirrorSessionState.Builder

  • Enclosing class:
    TrafficMirrorSessionState

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

      • arn

        public TrafficMirrorSessionState.Builder arn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the traffic mirror session.
        Returns:
        builder
      • description

        public TrafficMirrorSessionState.Builder description​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of the traffic mirror session.
        Returns:
        builder
      • description

        public TrafficMirrorSessionState.Builder description​(java.lang.String description)
        Parameters:
        description - A description of the traffic mirror session.
        Returns:
        builder
      • networkInterfaceId

        public TrafficMirrorSessionState.Builder networkInterfaceId​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> networkInterfaceId)
        Parameters:
        networkInterfaceId - ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
        Returns:
        builder
      • networkInterfaceId

        public TrafficMirrorSessionState.Builder networkInterfaceId​(java.lang.String networkInterfaceId)
        Parameters:
        networkInterfaceId - ID of the source network interface. Not all network interfaces are eligible as mirror sources. On EC2 instances only nitro based instances support mirroring.
        Returns:
        builder
      • ownerId

        public TrafficMirrorSessionState.Builder ownerId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - The AWS account ID of the session owner.
        Returns:
        builder
      • ownerId

        public TrafficMirrorSessionState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - The AWS account ID of the session owner.
        Returns:
        builder
      • packetLength

        public TrafficMirrorSessionState.Builder packetLength​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> packetLength)
        Parameters:
        packetLength - The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
        Returns:
        builder
      • packetLength

        public TrafficMirrorSessionState.Builder packetLength​(java.lang.Integer packetLength)
        Parameters:
        packetLength - The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror.
        Returns:
        builder
      • region

        public TrafficMirrorSessionState.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 TrafficMirrorSessionState.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
      • sessionNumber

        public TrafficMirrorSessionState.Builder sessionNumber​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Integer> sessionNumber)
        Parameters:
        sessionNumber - The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
        Returns:
        builder
      • sessionNumber

        public TrafficMirrorSessionState.Builder sessionNumber​(java.lang.Integer sessionNumber)
        Parameters:
        sessionNumber - The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
        Returns:
        builder
      • tags

        public TrafficMirrorSessionState.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.
        Returns:
        builder
      • tags

        public TrafficMirrorSessionState.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.
        Returns:
        builder
      • tagsAll

        public TrafficMirrorSessionState.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 `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public TrafficMirrorSessionState.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 `defaultTags` configuration block.
        Returns:
        builder
      • trafficMirrorFilterId

        public TrafficMirrorSessionState.Builder trafficMirrorFilterId​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> trafficMirrorFilterId)
        Parameters:
        trafficMirrorFilterId - ID of the traffic mirror filter to be used
        Returns:
        builder
      • trafficMirrorFilterId

        public TrafficMirrorSessionState.Builder trafficMirrorFilterId​(java.lang.String trafficMirrorFilterId)
        Parameters:
        trafficMirrorFilterId - ID of the traffic mirror filter to be used
        Returns:
        builder
      • trafficMirrorTargetId

        public TrafficMirrorSessionState.Builder trafficMirrorTargetId​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> trafficMirrorTargetId)
        Parameters:
        trafficMirrorTargetId - ID of the traffic mirror target to be used
        Returns:
        builder
      • trafficMirrorTargetId

        public TrafficMirrorSessionState.Builder trafficMirrorTargetId​(java.lang.String trafficMirrorTargetId)
        Parameters:
        trafficMirrorTargetId - ID of the traffic mirror target to be used
        Returns:
        builder
      • virtualNetworkId

        public TrafficMirrorSessionState.Builder virtualNetworkId​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> virtualNetworkId)
        Parameters:
        virtualNetworkId - The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique ID is chosen at random.
        Returns:
        builder
      • virtualNetworkId

        public TrafficMirrorSessionState.Builder virtualNetworkId​(java.lang.Integer virtualNetworkId)
        Parameters:
        virtualNetworkId - The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique ID is chosen at random.
        Returns:
        builder