com.pulumi.azurenative.cdn.outputs.OriginGroupOverrideActionParametersResponse 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.cdn.outputs;
import com.pulumi.azurenative.cdn.outputs.ResourceReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class OriginGroupOverrideActionParametersResponse {
/**
* @return defines the OriginGroup that would override the DefaultOriginGroup.
*
*/
private ResourceReferenceResponse originGroup;
private String typeName;
private OriginGroupOverrideActionParametersResponse() {}
/**
* @return defines the OriginGroup that would override the DefaultOriginGroup.
*
*/
public ResourceReferenceResponse originGroup() {
return this.originGroup;
}
public String typeName() {
return this.typeName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OriginGroupOverrideActionParametersResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private ResourceReferenceResponse originGroup;
private String typeName;
public Builder() {}
public Builder(OriginGroupOverrideActionParametersResponse defaults) {
Objects.requireNonNull(defaults);
this.originGroup = defaults.originGroup;
this.typeName = defaults.typeName;
}
@CustomType.Setter
public Builder originGroup(ResourceReferenceResponse originGroup) {
if (originGroup == null) {
throw new MissingRequiredPropertyException("OriginGroupOverrideActionParametersResponse", "originGroup");
}
this.originGroup = originGroup;
return this;
}
@CustomType.Setter
public Builder typeName(String typeName) {
if (typeName == null) {
throw new MissingRequiredPropertyException("OriginGroupOverrideActionParametersResponse", "typeName");
}
this.typeName = typeName;
return this;
}
public OriginGroupOverrideActionParametersResponse build() {
final var _resultValue = new OriginGroupOverrideActionParametersResponse();
_resultValue.originGroup = originGroup;
_resultValue.typeName = typeName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy