com.pulumi.artifactory.inputs.FederatedDockerV2RepositoryMemberArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artifactory Show documentation
Show all versions of artifactory Show documentation
A Pulumi package for creating and managing artifactory cloud 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.artifactory.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
public final class FederatedDockerV2RepositoryMemberArgs extends com.pulumi.resources.ResourceArgs {
public static final FederatedDockerV2RepositoryMemberArgs Empty = new FederatedDockerV2RepositoryMemberArgs();
/**
* Represents the active state of the federated member. It is supported to change the enabled
* status of my own member. The config will be updated on the other federated members automatically.
*
*/
@Import(name="enabled", required=true)
private Output enabled;
/**
* @return Represents the active state of the federated member. It is supported to change the enabled
* status of my own member. The config will be updated on the other federated members automatically.
*
*/
public Output enabled() {
return this.enabled;
}
/**
* Full URL to ending with the repository name.
*
*/
@Import(name="url", required=true)
private Output url;
/**
* @return Full URL to ending with the repository name.
*
*/
public Output url() {
return this.url;
}
private FederatedDockerV2RepositoryMemberArgs() {}
private FederatedDockerV2RepositoryMemberArgs(FederatedDockerV2RepositoryMemberArgs $) {
this.enabled = $.enabled;
this.url = $.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FederatedDockerV2RepositoryMemberArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FederatedDockerV2RepositoryMemberArgs $;
public Builder() {
$ = new FederatedDockerV2RepositoryMemberArgs();
}
public Builder(FederatedDockerV2RepositoryMemberArgs defaults) {
$ = new FederatedDockerV2RepositoryMemberArgs(Objects.requireNonNull(defaults));
}
/**
* @param enabled Represents the active state of the federated member. It is supported to change the enabled
* status of my own member. The config will be updated on the other federated members automatically.
*
* @return builder
*
*/
public Builder enabled(Output enabled) {
$.enabled = enabled;
return this;
}
/**
* @param enabled Represents the active state of the federated member. It is supported to change the enabled
* status of my own member. The config will be updated on the other federated members automatically.
*
* @return builder
*
*/
public Builder enabled(Boolean enabled) {
return enabled(Output.of(enabled));
}
/**
* @param url Full URL to ending with the repository name.
*
* @return builder
*
*/
public Builder url(Output url) {
$.url = url;
return this;
}
/**
* @param url Full URL to ending with the repository name.
*
* @return builder
*
*/
public Builder url(String url) {
return url(Output.of(url));
}
public FederatedDockerV2RepositoryMemberArgs build() {
if ($.enabled == null) {
throw new MissingRequiredPropertyException("FederatedDockerV2RepositoryMemberArgs", "enabled");
}
if ($.url == null) {
throw new MissingRequiredPropertyException("FederatedDockerV2RepositoryMemberArgs", "url");
}
return $;
}
}
}