Package com.pulumi.aws.ec2.inputs
Class NetworkInsightsAnalysisState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.NetworkInsightsAnalysisState.Builder
-
- Enclosing class:
- NetworkInsightsAnalysisState
public static final class NetworkInsightsAnalysisState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(NetworkInsightsAnalysisState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(NetworkInsightsAnalysisState defaults)
-
-
Method Detail
-
alternatePathHints
public NetworkInsightsAnalysisState.Builder alternatePathHints(@Nullable com.pulumi.core.Output<java.util.List<NetworkInsightsAnalysisAlternatePathHintArgs>> alternatePathHints)
- Parameters:
alternatePathHints
- Potential intermediate components of a feasible path. Described below.- Returns:
- builder
-
alternatePathHints
public NetworkInsightsAnalysisState.Builder alternatePathHints(java.util.List<NetworkInsightsAnalysisAlternatePathHintArgs> alternatePathHints)
- Parameters:
alternatePathHints
- Potential intermediate components of a feasible path. Described below.- Returns:
- builder
-
alternatePathHints
public NetworkInsightsAnalysisState.Builder alternatePathHints(NetworkInsightsAnalysisAlternatePathHintArgs... alternatePathHints)
- Parameters:
alternatePathHints
- Potential intermediate components of a feasible path. Described below.- Returns:
- builder
-
arn
public NetworkInsightsAnalysisState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- ARN of the Network Insights Analysis.- Returns:
- builder
-
arn
public NetworkInsightsAnalysisState.Builder arn(java.lang.String arn)
- Parameters:
arn
- ARN of the Network Insights Analysis.- Returns:
- builder
-
explanations
public NetworkInsightsAnalysisState.Builder explanations(@Nullable com.pulumi.core.Output<java.util.List<NetworkInsightsAnalysisExplanationArgs>> explanations)
- Parameters:
explanations
- Explanation codes for an unreachable path. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Explanation.html) for details.- Returns:
- builder
-
explanations
public NetworkInsightsAnalysisState.Builder explanations(java.util.List<NetworkInsightsAnalysisExplanationArgs> explanations)
- Parameters:
explanations
- Explanation codes for an unreachable path. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Explanation.html) for details.- Returns:
- builder
-
explanations
public NetworkInsightsAnalysisState.Builder explanations(NetworkInsightsAnalysisExplanationArgs... explanations)
- Parameters:
explanations
- Explanation codes for an unreachable path. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Explanation.html) for details.- Returns:
- builder
-
filterInArns
public NetworkInsightsAnalysisState.Builder filterInArns(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> filterInArns)
- Parameters:
filterInArns
- A list of ARNs for resources the path must traverse.- Returns:
- builder
-
filterInArns
public NetworkInsightsAnalysisState.Builder filterInArns(java.util.List<java.lang.String> filterInArns)
- Parameters:
filterInArns
- A list of ARNs for resources the path must traverse.- Returns:
- builder
-
filterInArns
public NetworkInsightsAnalysisState.Builder filterInArns(java.lang.String... filterInArns)
- Parameters:
filterInArns
- A list of ARNs for resources the path must traverse.- Returns:
- builder
-
forwardPathComponents
public NetworkInsightsAnalysisState.Builder forwardPathComponents(@Nullable com.pulumi.core.Output<java.util.List<NetworkInsightsAnalysisForwardPathComponentArgs>> forwardPathComponents)
- Parameters:
forwardPathComponents
- The components in the path from source to destination. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details.- Returns:
- builder
-
forwardPathComponents
public NetworkInsightsAnalysisState.Builder forwardPathComponents(java.util.List<NetworkInsightsAnalysisForwardPathComponentArgs> forwardPathComponents)
- Parameters:
forwardPathComponents
- The components in the path from source to destination. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details.- Returns:
- builder
-
forwardPathComponents
public NetworkInsightsAnalysisState.Builder forwardPathComponents(NetworkInsightsAnalysisForwardPathComponentArgs... forwardPathComponents)
- Parameters:
forwardPathComponents
- The components in the path from source to destination. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details.- Returns:
- builder
-
networkInsightsPathId
public NetworkInsightsAnalysisState.Builder networkInsightsPathId(@Nullable com.pulumi.core.Output<java.lang.String> networkInsightsPathId)
- Parameters:
networkInsightsPathId
- ID of the Network Insights Path to run an analysis on. The following arguments are optional:- Returns:
- builder
-
networkInsightsPathId
public NetworkInsightsAnalysisState.Builder networkInsightsPathId(java.lang.String networkInsightsPathId)
- Parameters:
networkInsightsPathId
- ID of the Network Insights Path to run an analysis on. The following arguments are optional:- Returns:
- builder
-
pathFound
public NetworkInsightsAnalysisState.Builder pathFound(@Nullable com.pulumi.core.Output<java.lang.Boolean> pathFound)
- Parameters:
pathFound
- Set to `true` if the destination was reachable.- Returns:
- builder
-
pathFound
public NetworkInsightsAnalysisState.Builder pathFound(java.lang.Boolean pathFound)
- Parameters:
pathFound
- Set to `true` if the destination was reachable.- Returns:
- builder
-
returnPathComponents
public NetworkInsightsAnalysisState.Builder returnPathComponents(@Nullable com.pulumi.core.Output<java.util.List<NetworkInsightsAnalysisReturnPathComponentArgs>> returnPathComponents)
- Parameters:
returnPathComponents
- The components in the path from destination to source. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details.- Returns:
- builder
-
returnPathComponents
public NetworkInsightsAnalysisState.Builder returnPathComponents(java.util.List<NetworkInsightsAnalysisReturnPathComponentArgs> returnPathComponents)
- Parameters:
returnPathComponents
- The components in the path from destination to source. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details.- Returns:
- builder
-
returnPathComponents
public NetworkInsightsAnalysisState.Builder returnPathComponents(NetworkInsightsAnalysisReturnPathComponentArgs... returnPathComponents)
- Parameters:
returnPathComponents
- The components in the path from destination to source. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details.- Returns:
- builder
-
startDate
public NetworkInsightsAnalysisState.Builder startDate(@Nullable com.pulumi.core.Output<java.lang.String> startDate)
- Parameters:
startDate
- The date/time the analysis was started.- Returns:
- builder
-
startDate
public NetworkInsightsAnalysisState.Builder startDate(java.lang.String startDate)
- Parameters:
startDate
- The date/time the analysis was started.- Returns:
- builder
-
status
public NetworkInsightsAnalysisState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status of the analysis. `succeeded` means the analysis was completed, not that a path was found, for that see `path_found`.- Returns:
- builder
-
status
public NetworkInsightsAnalysisState.Builder status(java.lang.String status)
- Parameters:
status
- The status of the analysis. `succeeded` means the analysis was completed, not that a path was found, for that see `path_found`.- Returns:
- builder
-
statusMessage
public NetworkInsightsAnalysisState.Builder statusMessage(@Nullable com.pulumi.core.Output<java.lang.String> statusMessage)
- Parameters:
statusMessage
- A message to provide more context when the `status` is `failed`.- Returns:
- builder
-
statusMessage
public NetworkInsightsAnalysisState.Builder statusMessage(java.lang.String statusMessage)
- Parameters:
statusMessage
- A message to provide more context when the `status` is `failed`.- Returns:
- builder
-
tags
public NetworkInsightsAnalysisState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Map of tags to assign to the resource. 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 NetworkInsightsAnalysisState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Map of tags to assign to the resource. 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
@Deprecated public NetworkInsightsAnalysisState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public NetworkInsightsAnalysisState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
waitForCompletion
public NetworkInsightsAnalysisState.Builder waitForCompletion(@Nullable com.pulumi.core.Output<java.lang.Boolean> waitForCompletion)
- Parameters:
waitForCompletion
- If enabled, the resource will wait for the Network Insights Analysis status to change to `succeeded` or `failed`. Setting this to `false` will skip the process. Default: `true`.- Returns:
- builder
-
waitForCompletion
public NetworkInsightsAnalysisState.Builder waitForCompletion(java.lang.Boolean waitForCompletion)
- Parameters:
waitForCompletion
- If enabled, the resource will wait for the Network Insights Analysis status to change to `succeeded` or `failed`. Setting this to `false` will skip the process. Default: `true`.- Returns:
- builder
-
warningMessage
public NetworkInsightsAnalysisState.Builder warningMessage(@Nullable com.pulumi.core.Output<java.lang.String> warningMessage)
- Parameters:
warningMessage
- The warning message.- Returns:
- builder
-
warningMessage
public NetworkInsightsAnalysisState.Builder warningMessage(java.lang.String warningMessage)
- Parameters:
warningMessage
- The warning message.- Returns:
- builder
-
build
public NetworkInsightsAnalysisState build()
-
-