com.pulumi.azurenative.security.outputs.AttestationEvidenceResponse 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.security.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 AttestationEvidenceResponse {
/**
* @return The description of the evidence
*
*/
private @Nullable String description;
/**
* @return The source url of the evidence
*
*/
private @Nullable String sourceUrl;
private AttestationEvidenceResponse() {}
/**
* @return The description of the evidence
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The source url of the evidence
*
*/
public Optional sourceUrl() {
return Optional.ofNullable(this.sourceUrl);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AttestationEvidenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private @Nullable String sourceUrl;
public Builder() {}
public Builder(AttestationEvidenceResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.sourceUrl = defaults.sourceUrl;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder sourceUrl(@Nullable String sourceUrl) {
this.sourceUrl = sourceUrl;
return this;
}
public AttestationEvidenceResponse build() {
final var _resultValue = new AttestationEvidenceResponse();
_resultValue.description = description;
_resultValue.sourceUrl = sourceUrl;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy