Class MonitorState.Builder

  • Enclosing class:
    MonitorState

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

      • Builder

        public Builder()
    • Method Detail

      • localResources

        public MonitorState.Builder localResources​(@Nullable
                                                   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 MonitorState.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 MonitorState.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
      • monitorArn

        public MonitorState.Builder monitorArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> monitorArn)
        Parameters:
        monitorArn - ARN of the monitor.
        Returns:
        builder
      • monitorArn

        public MonitorState.Builder monitorArn​(java.lang.String monitorArn)
        Parameters:
        monitorArn - ARN of the monitor.
        Returns:
        builder
      • monitorName

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

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

        public MonitorState.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 MonitorState.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 MonitorState.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 MonitorState.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 MonitorState.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 MonitorState.Builder scopeArn​(@Nullable
                                             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 MonitorState.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 MonitorState.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 MonitorState.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
      • tagsAll

        public MonitorState.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 MonitorState.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