com.pulumi.googlenative.osconfig.v1beta.outputs.ZypperRepositoryResponse 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.osconfig.v1beta.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ZypperRepositoryResponse {
/**
* @return The location of the repository directory.
*
*/
private String baseUrl;
/**
* @return The display name of the repository.
*
*/
private String displayName;
/**
* @return URIs of GPG keys.
*
*/
private List gpgKeys;
private ZypperRepositoryResponse() {}
/**
* @return The location of the repository directory.
*
*/
public String baseUrl() {
return this.baseUrl;
}
/**
* @return The display name of the repository.
*
*/
public String displayName() {
return this.displayName;
}
/**
* @return URIs of GPG keys.
*
*/
public List gpgKeys() {
return this.gpgKeys;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ZypperRepositoryResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String baseUrl;
private String displayName;
private List gpgKeys;
public Builder() {}
public Builder(ZypperRepositoryResponse defaults) {
Objects.requireNonNull(defaults);
this.baseUrl = defaults.baseUrl;
this.displayName = defaults.displayName;
this.gpgKeys = defaults.gpgKeys;
}
@CustomType.Setter
public Builder baseUrl(String baseUrl) {
this.baseUrl = Objects.requireNonNull(baseUrl);
return this;
}
@CustomType.Setter
public Builder displayName(String displayName) {
this.displayName = Objects.requireNonNull(displayName);
return this;
}
@CustomType.Setter
public Builder gpgKeys(List gpgKeys) {
this.gpgKeys = Objects.requireNonNull(gpgKeys);
return this;
}
public Builder gpgKeys(String... gpgKeys) {
return gpgKeys(List.of(gpgKeys));
}
public ZypperRepositoryResponse build() {
final var o = new ZypperRepositoryResponse();
o.baseUrl = baseUrl;
o.displayName = displayName;
o.gpgKeys = gpgKeys;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy