Class MonitorArgs.Builder

  • Enclosing class:
    MonitorArgs

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

      • Builder

        public Builder()
    • Method Detail

      • localResources

        public MonitorArgs.Builder localResources​(com.pulumi.core.Output<java.util.List<MonitorLocalResourceArgs>> localResources)
        Parameters:
        localResources - The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
        Returns:
        builder
      • localResources

        public MonitorArgs.Builder localResources​(java.util.List<MonitorLocalResourceArgs> localResources)
        Parameters:
        localResources - The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
        Returns:
        builder
      • localResources

        public MonitorArgs.Builder localResources​(MonitorLocalResourceArgs... localResources)
        Parameters:
        localResources - The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
        Returns:
        builder
      • monitorName

        public MonitorArgs.Builder monitorName​(com.pulumi.core.Output<java.lang.String> monitorName)
        Parameters:
        monitorName - The name of the monitor. Cannot be changed after creation.
        Returns:
        builder
      • monitorName

        public MonitorArgs.Builder monitorName​(java.lang.String monitorName)
        Parameters:
        monitorName - The name of the monitor. Cannot be changed after creation.
        Returns:
        builder
      • region

        public MonitorArgs.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 MonitorArgs.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
      • remoteResources

        public MonitorArgs.Builder remoteResources​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<MonitorRemoteResourceArgs>> remoteResources)
        Parameters:
        remoteResources - The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
        Returns:
        builder
      • remoteResources

        public MonitorArgs.Builder remoteResources​(java.util.List<MonitorRemoteResourceArgs> remoteResources)
        Parameters:
        remoteResources - The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
        Returns:
        builder
      • remoteResources

        public MonitorArgs.Builder remoteResources​(MonitorRemoteResourceArgs... remoteResources)
        Parameters:
        remoteResources - The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
        Returns:
        builder
      • scopeArn

        public MonitorArgs.Builder scopeArn​(com.pulumi.core.Output<java.lang.String> scopeArn)
        Parameters:
        scopeArn - ARN of the scope for the monitor. Cannot be changed after creation. The following arguments are optional:
        Returns:
        builder
      • scopeArn

        public MonitorArgs.Builder scopeArn​(java.lang.String scopeArn)
        Parameters:
        scopeArn - ARN of the scope for the monitor. Cannot be changed after creation. The following arguments are optional:
        Returns:
        builder
      • tags

        public MonitorArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. 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 MonitorArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder