com.pulumi.azurenative.eventgrid.outputs.GetClientGroupResult 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.eventgrid.outputs;
import com.pulumi.azurenative.eventgrid.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetClientGroupResult {
/**
* @return Description for the Client Group resource.
*
*/
private @Nullable String description;
/**
* @return Fully qualified identifier of the resource.
*
*/
private String id;
/**
* @return Name of the resource.
*
*/
private String name;
/**
* @return Provisioning state of the ClientGroup resource.
*
*/
private String provisioningState;
/**
* @return The grouping query for the clients.
* Example : attributes.keyName IN ['a', 'b', 'c'].
*
*/
private @Nullable String query;
/**
* @return The system metadata relating to the ClientGroup resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Type of the resource.
*
*/
private String type;
private GetClientGroupResult() {}
/**
* @return Description for the Client Group resource.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Fully qualified identifier of the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return Provisioning state of the ClientGroup resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The grouping query for the clients.
* Example : attributes.keyName IN ['a', 'b', 'c'].
*
*/
public Optional query() {
return Optional.ofNullable(this.query);
}
/**
* @return The system metadata relating to the ClientGroup resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClientGroupResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private String id;
private String name;
private String provisioningState;
private @Nullable String query;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetClientGroupResult defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.id = defaults.id;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.query = defaults.query;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetClientGroupResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetClientGroupResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetClientGroupResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder query(@Nullable String query) {
this.query = query;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetClientGroupResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetClientGroupResult", "type");
}
this.type = type;
return this;
}
public GetClientGroupResult build() {
final var _resultValue = new GetClientGroupResult();
_resultValue.description = description;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.query = query;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy