com.pulumi.azurenative.cdn.outputs.GetProfileResult 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.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.cdn.outputs.SkuResponse;
import com.pulumi.azurenative.cdn.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetProfileResult {
/**
* @return Key-Value pair representing additional properties for profiles.
*
*/
private Map extendedProperties;
/**
* @return The Id of the frontdoor.
*
*/
private String frontDoorId;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return Managed service identity (system assigned and/or user assigned identities).
*
*/
private @Nullable ManagedServiceIdentityResponse identity;
/**
* @return Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
*
*/
private String kind;
/**
* @return Resource location.
*
*/
private String location;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
*
*/
private @Nullable Integer originResponseTimeoutSeconds;
/**
* @return Provisioning status of the profile.
*
*/
private String provisioningState;
/**
* @return Resource status of the profile.
*
*/
private String resourceState;
/**
* @return The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
*
*/
private SkuResponse sku;
/**
* @return Read only system data
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Resource type.
*
*/
private String type;
private GetProfileResult() {}
/**
* @return Key-Value pair representing additional properties for profiles.
*
*/
public Map extendedProperties() {
return this.extendedProperties;
}
/**
* @return The Id of the frontdoor.
*
*/
public String frontDoorId() {
return this.frontDoorId;
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Managed service identity (system assigned and/or user assigned identities).
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
*
*/
public String kind() {
return this.kind;
}
/**
* @return Resource location.
*
*/
public String location() {
return this.location;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
*
*/
public Optional originResponseTimeoutSeconds() {
return Optional.ofNullable(this.originResponseTimeoutSeconds);
}
/**
* @return Provisioning status of the profile.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Resource status of the profile.
*
*/
public String resourceState() {
return this.resourceState;
}
/**
* @return The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
*
*/
public SkuResponse sku() {
return this.sku;
}
/**
* @return Read only system data
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProfileResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map extendedProperties;
private String frontDoorId;
private String id;
private @Nullable ManagedServiceIdentityResponse identity;
private String kind;
private String location;
private String name;
private @Nullable Integer originResponseTimeoutSeconds;
private String provisioningState;
private String resourceState;
private SkuResponse sku;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetProfileResult defaults) {
Objects.requireNonNull(defaults);
this.extendedProperties = defaults.extendedProperties;
this.frontDoorId = defaults.frontDoorId;
this.id = defaults.id;
this.identity = defaults.identity;
this.kind = defaults.kind;
this.location = defaults.location;
this.name = defaults.name;
this.originResponseTimeoutSeconds = defaults.originResponseTimeoutSeconds;
this.provisioningState = defaults.provisioningState;
this.resourceState = defaults.resourceState;
this.sku = defaults.sku;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder extendedProperties(Map extendedProperties) {
if (extendedProperties == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "extendedProperties");
}
this.extendedProperties = extendedProperties;
return this;
}
@CustomType.Setter
public Builder frontDoorId(String frontDoorId) {
if (frontDoorId == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "frontDoorId");
}
this.frontDoorId = frontDoorId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ManagedServiceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder kind(String kind) {
if (kind == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "kind");
}
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder originResponseTimeoutSeconds(@Nullable Integer originResponseTimeoutSeconds) {
this.originResponseTimeoutSeconds = originResponseTimeoutSeconds;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder resourceState(String resourceState) {
if (resourceState == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "resourceState");
}
this.resourceState = resourceState;
return this;
}
@CustomType.Setter
public Builder sku(SkuResponse sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetProfileResult", "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("GetProfileResult", "type");
}
this.type = type;
return this;
}
public GetProfileResult build() {
final var _resultValue = new GetProfileResult();
_resultValue.extendedProperties = extendedProperties;
_resultValue.frontDoorId = frontDoorId;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.kind = kind;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.originResponseTimeoutSeconds = originResponseTimeoutSeconds;
_resultValue.provisioningState = provisioningState;
_resultValue.resourceState = resourceState;
_resultValue.sku = sku;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy