
com.pulumi.azurenative.eventgrid.outputs.GetPartnerRegistrationResult Maven / Gradle / Ivy
// *** 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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPartnerRegistrationResult {
/**
* @return Fully qualified identifier of the resource.
*
*/
private String id;
/**
* @return Location of the resource.
*
*/
private String location;
/**
* @return Name of the resource.
*
*/
private String name;
/**
* @return The immutableId of the corresponding partner registration.
* Note: This property is marked for deprecation and is not supported in any future GA API version
*
*/
private @Nullable String partnerRegistrationImmutableId;
/**
* @return Provisioning state of the partner registration.
*
*/
private String provisioningState;
/**
* @return The system metadata relating to Partner Registration resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Tags of the resource.
*
*/
private @Nullable Map tags;
/**
* @return Type of the resource.
*
*/
private String type;
private GetPartnerRegistrationResult() {}
/**
* @return Fully qualified identifier of the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Location of the resource.
*
*/
public String location() {
return this.location;
}
/**
* @return Name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The immutableId of the corresponding partner registration.
* Note: This property is marked for deprecation and is not supported in any future GA API version
*
*/
public Optional partnerRegistrationImmutableId() {
return Optional.ofNullable(this.partnerRegistrationImmutableId);
}
/**
* @return Provisioning state of the partner registration.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The system metadata relating to Partner Registration resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Tags of the resource.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPartnerRegistrationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String location;
private String name;
private @Nullable String partnerRegistrationImmutableId;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetPartnerRegistrationResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.partnerRegistrationImmutableId = defaults.partnerRegistrationImmutableId;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPartnerRegistrationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetPartnerRegistrationResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetPartnerRegistrationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder partnerRegistrationImmutableId(@Nullable String partnerRegistrationImmutableId) {
this.partnerRegistrationImmutableId = partnerRegistrationImmutableId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetPartnerRegistrationResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetPartnerRegistrationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetPartnerRegistrationResult", "type");
}
this.type = type;
return this;
}
public GetPartnerRegistrationResult build() {
final var _resultValue = new GetPartnerRegistrationResult();
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.partnerRegistrationImmutableId = partnerRegistrationImmutableId;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy