
com.pulumi.azurenative.containerregistry.outputs.ParentPropertiesResponse 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.containerregistry.outputs;
import com.pulumi.azurenative.containerregistry.outputs.SyncPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ParentPropertiesResponse {
/**
* @return The resource ID of the parent to which the connected registry will be associated.
*
*/
private @Nullable String id;
/**
* @return The sync properties of the connected registry with its parent.
*
*/
private SyncPropertiesResponse syncProperties;
private ParentPropertiesResponse() {}
/**
* @return The resource ID of the parent to which the connected registry will be associated.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The sync properties of the connected registry with its parent.
*
*/
public SyncPropertiesResponse syncProperties() {
return this.syncProperties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ParentPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private SyncPropertiesResponse syncProperties;
public Builder() {}
public Builder(ParentPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.syncProperties = defaults.syncProperties;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder syncProperties(SyncPropertiesResponse syncProperties) {
if (syncProperties == null) {
throw new MissingRequiredPropertyException("ParentPropertiesResponse", "syncProperties");
}
this.syncProperties = syncProperties;
return this;
}
public ParentPropertiesResponse build() {
final var _resultValue = new ParentPropertiesResponse();
_resultValue.id = id;
_resultValue.syncProperties = syncProperties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy