com.pulumi.azure.network.NetworkInterfaceApplicationSecurityGroupAssociationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.network;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class NetworkInterfaceApplicationSecurityGroupAssociationArgs extends com.pulumi.resources.ResourceArgs {
public static final NetworkInterfaceApplicationSecurityGroupAssociationArgs Empty = new NetworkInterfaceApplicationSecurityGroupAssociationArgs();
/**
* The ID of the Application Security Group which this Network Interface which should be connected to. Changing this forces a new resource to be created.
*
*/
@Import(name="applicationSecurityGroupId", required=true)
private Output applicationSecurityGroupId;
/**
* @return The ID of the Application Security Group which this Network Interface which should be connected to. Changing this forces a new resource to be created.
*
*/
public Output applicationSecurityGroupId() {
return this.applicationSecurityGroupId;
}
/**
* The ID of the Network Interface. Changing this forces a new resource to be created.
*
*/
@Import(name="networkInterfaceId", required=true)
private Output networkInterfaceId;
/**
* @return The ID of the Network Interface. Changing this forces a new resource to be created.
*
*/
public Output networkInterfaceId() {
return this.networkInterfaceId;
}
private NetworkInterfaceApplicationSecurityGroupAssociationArgs() {}
private NetworkInterfaceApplicationSecurityGroupAssociationArgs(NetworkInterfaceApplicationSecurityGroupAssociationArgs $) {
this.applicationSecurityGroupId = $.applicationSecurityGroupId;
this.networkInterfaceId = $.networkInterfaceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkInterfaceApplicationSecurityGroupAssociationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private NetworkInterfaceApplicationSecurityGroupAssociationArgs $;
public Builder() {
$ = new NetworkInterfaceApplicationSecurityGroupAssociationArgs();
}
public Builder(NetworkInterfaceApplicationSecurityGroupAssociationArgs defaults) {
$ = new NetworkInterfaceApplicationSecurityGroupAssociationArgs(Objects.requireNonNull(defaults));
}
/**
* @param applicationSecurityGroupId The ID of the Application Security Group which this Network Interface which should be connected to. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder applicationSecurityGroupId(Output applicationSecurityGroupId) {
$.applicationSecurityGroupId = applicationSecurityGroupId;
return this;
}
/**
* @param applicationSecurityGroupId The ID of the Application Security Group which this Network Interface which should be connected to. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder applicationSecurityGroupId(String applicationSecurityGroupId) {
return applicationSecurityGroupId(Output.of(applicationSecurityGroupId));
}
/**
* @param networkInterfaceId The ID of the Network Interface. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder networkInterfaceId(Output networkInterfaceId) {
$.networkInterfaceId = networkInterfaceId;
return this;
}
/**
* @param networkInterfaceId The ID of the Network Interface. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder networkInterfaceId(String networkInterfaceId) {
return networkInterfaceId(Output.of(networkInterfaceId));
}
public NetworkInterfaceApplicationSecurityGroupAssociationArgs build() {
if ($.applicationSecurityGroupId == null) {
throw new MissingRequiredPropertyException("NetworkInterfaceApplicationSecurityGroupAssociationArgs", "applicationSecurityGroupId");
}
if ($.networkInterfaceId == null) {
throw new MissingRequiredPropertyException("NetworkInterfaceApplicationSecurityGroupAssociationArgs", "networkInterfaceId");
}
return $;
}
}
}