com.pulumi.googlenative.containeranalysis.v1alpha1.outputs.GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse 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.v1alpha1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse {
/**
* @return Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
*
*/
private Map digest;
/**
* @return String identifying the entry point into the build.
*
*/
private String entryPoint;
/**
* @return URI indicating the identity of the source of the config.
*
*/
private String uri;
private GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse() {}
/**
* @return Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
*
*/
public Map digest() {
return this.digest;
}
/**
* @return String identifying the entry point into the build.
*
*/
public String entryPoint() {
return this.entryPoint;
}
/**
* @return URI indicating the identity of the source of the config.
*
*/
public String uri() {
return this.uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map digest;
private String entryPoint;
private String uri;
public Builder() {}
public Builder(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.digest = defaults.digest;
this.entryPoint = defaults.entryPoint;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder digest(Map digest) {
this.digest = Objects.requireNonNull(digest);
return this;
}
@CustomType.Setter
public Builder entryPoint(String entryPoint) {
this.entryPoint = Objects.requireNonNull(entryPoint);
return this;
}
@CustomType.Setter
public Builder uri(String uri) {
this.uri = Objects.requireNonNull(uri);
return this;
}
public GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse build() {
final var o = new GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse();
o.digest = digest;
o.entryPoint = entryPoint;
o.uri = uri;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy