Class MonitorState.Builder
- java.lang.Object
-
- com.pulumi.aws.networkflowmonitor.inputs.MonitorState.Builder
-
- Enclosing class:
- MonitorState
public static final class MonitorState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(MonitorState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorStatebuild()MonitorState.BuilderlocalResources(MonitorLocalResourceArgs... localResources)MonitorState.BuilderlocalResources(com.pulumi.core.Output<java.util.List<MonitorLocalResourceArgs>> localResources)MonitorState.BuilderlocalResources(java.util.List<MonitorLocalResourceArgs> localResources)MonitorState.BuildermonitorArn(com.pulumi.core.Output<java.lang.String> monitorArn)MonitorState.BuildermonitorArn(java.lang.String monitorArn)MonitorState.BuildermonitorName(com.pulumi.core.Output<java.lang.String> monitorName)MonitorState.BuildermonitorName(java.lang.String monitorName)MonitorState.Builderregion(com.pulumi.core.Output<java.lang.String> region)MonitorState.Builderregion(java.lang.String region)MonitorState.BuilderremoteResources(MonitorRemoteResourceArgs... remoteResources)MonitorState.BuilderremoteResources(com.pulumi.core.Output<java.util.List<MonitorRemoteResourceArgs>> remoteResources)MonitorState.BuilderremoteResources(java.util.List<MonitorRemoteResourceArgs> remoteResources)MonitorState.BuilderscopeArn(com.pulumi.core.Output<java.lang.String> scopeArn)MonitorState.BuilderscopeArn(java.lang.String scopeArn)MonitorState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)MonitorState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)MonitorState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)MonitorState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)MonitorState.Buildertimeouts(MonitorTimeoutsArgs timeouts)MonitorState.Buildertimeouts(com.pulumi.core.Output<MonitorTimeoutsArgs> timeouts)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(MonitorState defaults)
-
-
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
-
timeouts
public MonitorState.Builder timeouts(@Nullable com.pulumi.core.Output<MonitorTimeoutsArgs> timeouts)
-
timeouts
public MonitorState.Builder timeouts(MonitorTimeoutsArgs timeouts)
-
build
public MonitorState build()
-
-