com.pulumi.googlenative.containeranalysis.v1beta1.outputs.SbomReferenceIntotoPredicateResponse 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.googlenative.containeranalysis.v1beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class SbomReferenceIntotoPredicateResponse {
/**
* @return A map of algorithm to digest of the contents of the SBOM.
*
*/
private Map digest;
/**
* @return The location of the SBOM.
*
*/
private String location;
/**
* @return The mime type of the SBOM.
*
*/
private String mimeType;
/**
* @return The person or system referring this predicate to the consumer.
*
*/
private String referrerId;
private SbomReferenceIntotoPredicateResponse() {}
/**
* @return A map of algorithm to digest of the contents of the SBOM.
*
*/
public Map digest() {
return this.digest;
}
/**
* @return The location of the SBOM.
*
*/
public String location() {
return this.location;
}
/**
* @return The mime type of the SBOM.
*
*/
public String mimeType() {
return this.mimeType;
}
/**
* @return The person or system referring this predicate to the consumer.
*
*/
public String referrerId() {
return this.referrerId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SbomReferenceIntotoPredicateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map digest;
private String location;
private String mimeType;
private String referrerId;
public Builder() {}
public Builder(SbomReferenceIntotoPredicateResponse defaults) {
Objects.requireNonNull(defaults);
this.digest = defaults.digest;
this.location = defaults.location;
this.mimeType = defaults.mimeType;
this.referrerId = defaults.referrerId;
}
@CustomType.Setter
public Builder digest(Map digest) {
this.digest = Objects.requireNonNull(digest);
return this;
}
@CustomType.Setter
public Builder location(String location) {
this.location = Objects.requireNonNull(location);
return this;
}
@CustomType.Setter
public Builder mimeType(String mimeType) {
this.mimeType = Objects.requireNonNull(mimeType);
return this;
}
@CustomType.Setter
public Builder referrerId(String referrerId) {
this.referrerId = Objects.requireNonNull(referrerId);
return this;
}
public SbomReferenceIntotoPredicateResponse build() {
final var o = new SbomReferenceIntotoPredicateResponse();
o.digest = digest;
o.location = location;
o.mimeType = mimeType;
o.referrerId = referrerId;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy