com.pulumi.azurenative.app.outputs.JwtClaimChecksResponse 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.app.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class JwtClaimChecksResponse {
/**
* @return The list of the allowed client applications.
*
*/
private @Nullable List allowedClientApplications;
/**
* @return The list of the allowed groups.
*
*/
private @Nullable List allowedGroups;
private JwtClaimChecksResponse() {}
/**
* @return The list of the allowed client applications.
*
*/
public List allowedClientApplications() {
return this.allowedClientApplications == null ? List.of() : this.allowedClientApplications;
}
/**
* @return The list of the allowed groups.
*
*/
public List allowedGroups() {
return this.allowedGroups == null ? List.of() : this.allowedGroups;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JwtClaimChecksResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List allowedClientApplications;
private @Nullable List allowedGroups;
public Builder() {}
public Builder(JwtClaimChecksResponse defaults) {
Objects.requireNonNull(defaults);
this.allowedClientApplications = defaults.allowedClientApplications;
this.allowedGroups = defaults.allowedGroups;
}
@CustomType.Setter
public Builder allowedClientApplications(@Nullable List allowedClientApplications) {
this.allowedClientApplications = allowedClientApplications;
return this;
}
public Builder allowedClientApplications(String... allowedClientApplications) {
return allowedClientApplications(List.of(allowedClientApplications));
}
@CustomType.Setter
public Builder allowedGroups(@Nullable List allowedGroups) {
this.allowedGroups = allowedGroups;
return this;
}
public Builder allowedGroups(String... allowedGroups) {
return allowedGroups(List.of(allowedGroups));
}
public JwtClaimChecksResponse build() {
final var _resultValue = new JwtClaimChecksResponse();
_resultValue.allowedClientApplications = allowedClientApplications;
_resultValue.allowedGroups = allowedGroups;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy