com.pulumi.azurenative.notificationhubs.outputs.PublicInternetAuthorizationRuleResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.notificationhubs.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class PublicInternetAuthorizationRuleResponse {
/**
* @return List of access rights.
*
*/
private List rights;
private PublicInternetAuthorizationRuleResponse() {}
/**
* @return List of access rights.
*
*/
public List rights() {
return this.rights;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PublicInternetAuthorizationRuleResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List rights;
public Builder() {}
public Builder(PublicInternetAuthorizationRuleResponse defaults) {
Objects.requireNonNull(defaults);
this.rights = defaults.rights;
}
@CustomType.Setter
public Builder rights(List rights) {
if (rights == null) {
throw new MissingRequiredPropertyException("PublicInternetAuthorizationRuleResponse", "rights");
}
this.rights = rights;
return this;
}
public Builder rights(String... rights) {
return rights(List.of(rights));
}
public PublicInternetAuthorizationRuleResponse build() {
final var _resultValue = new PublicInternetAuthorizationRuleResponse();
_resultValue.rights = rights;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy