com.azure.resourcemanager.network.models.PacketCaptureMachineScope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded
* are empty, then the packet capture will run on all instances of AzureVMSS.
*/
@Fluent
public final class PacketCaptureMachineScope {
/*
* List of AzureVMSS instances to run packet capture on.
*/
@JsonProperty(value = "include")
private List include;
/*
* List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
*/
@JsonProperty(value = "exclude")
private List exclude;
/**
* Creates an instance of PacketCaptureMachineScope class.
*/
public PacketCaptureMachineScope() {
}
/**
* Get the include property: List of AzureVMSS instances to run packet capture on.
*
* @return the include value.
*/
public List include() {
return this.include;
}
/**
* Set the include property: List of AzureVMSS instances to run packet capture on.
*
* @param include the include value to set.
* @return the PacketCaptureMachineScope object itself.
*/
public PacketCaptureMachineScope withInclude(List include) {
this.include = include;
return this;
}
/**
* Get the exclude property: List of AzureVMSS instances which has to be excluded from the AzureVMSS from running
* packet capture.
*
* @return the exclude value.
*/
public List exclude() {
return this.exclude;
}
/**
* Set the exclude property: List of AzureVMSS instances which has to be excluded from the AzureVMSS from running
* packet capture.
*
* @param exclude the exclude value to set.
* @return the PacketCaptureMachineScope object itself.
*/
public PacketCaptureMachineScope withExclude(List exclude) {
this.exclude = exclude;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}