com.pulumi.azure.mobile.outputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformation 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.mobile.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NetworkSliceSingleNetworkSliceSelectionAssistanceInformation {
/**
* @return Slice differentiator (SD). Must be a 6 digit hex string.
*
*/
private @Nullable String sliceDifferentiator;
/**
* @return Slice/service type (SST). Must be between `0` and `255`.
*
*/
private Integer sliceServiceType;
private NetworkSliceSingleNetworkSliceSelectionAssistanceInformation() {}
/**
* @return Slice differentiator (SD). Must be a 6 digit hex string.
*
*/
public Optional sliceDifferentiator() {
return Optional.ofNullable(this.sliceDifferentiator);
}
/**
* @return Slice/service type (SST). Must be between `0` and `255`.
*
*/
public Integer sliceServiceType() {
return this.sliceServiceType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkSliceSingleNetworkSliceSelectionAssistanceInformation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String sliceDifferentiator;
private Integer sliceServiceType;
public Builder() {}
public Builder(NetworkSliceSingleNetworkSliceSelectionAssistanceInformation defaults) {
Objects.requireNonNull(defaults);
this.sliceDifferentiator = defaults.sliceDifferentiator;
this.sliceServiceType = defaults.sliceServiceType;
}
@CustomType.Setter
public Builder sliceDifferentiator(@Nullable String sliceDifferentiator) {
this.sliceDifferentiator = sliceDifferentiator;
return this;
}
@CustomType.Setter
public Builder sliceServiceType(Integer sliceServiceType) {
if (sliceServiceType == null) {
throw new MissingRequiredPropertyException("NetworkSliceSingleNetworkSliceSelectionAssistanceInformation", "sliceServiceType");
}
this.sliceServiceType = sliceServiceType;
return this;
}
public NetworkSliceSingleNetworkSliceSelectionAssistanceInformation build() {
final var _resultValue = new NetworkSliceSingleNetworkSliceSelectionAssistanceInformation();
_resultValue.sliceDifferentiator = sliceDifferentiator;
_resultValue.sliceServiceType = sliceServiceType;
return _resultValue;
}
}
}