
com.pulumi.azurenative.securityinsights.outputs.ContentPathMapResponse 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.securityinsights.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ContentPathMapResponse {
/**
* @return Content type.
*
*/
private @Nullable String contentType;
/**
* @return The path to the content.
*
*/
private @Nullable String path;
private ContentPathMapResponse() {}
/**
* @return Content type.
*
*/
public Optional contentType() {
return Optional.ofNullable(this.contentType);
}
/**
* @return The path to the content.
*
*/
public Optional path() {
return Optional.ofNullable(this.path);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContentPathMapResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String contentType;
private @Nullable String path;
public Builder() {}
public Builder(ContentPathMapResponse defaults) {
Objects.requireNonNull(defaults);
this.contentType = defaults.contentType;
this.path = defaults.path;
}
@CustomType.Setter
public Builder contentType(@Nullable String contentType) {
this.contentType = contentType;
return this;
}
@CustomType.Setter
public Builder path(@Nullable String path) {
this.path = path;
return this;
}
public ContentPathMapResponse build() {
final var _resultValue = new ContentPathMapResponse();
_resultValue.contentType = contentType;
_resultValue.path = path;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy