com.pulumi.azurenative.recoveryservices.outputs.GenericContainerExtendedInfoResponse 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.
The newest version!
// *** 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.recoveryservices.outputs;
import com.pulumi.azurenative.recoveryservices.outputs.ContainerIdentityInfoResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GenericContainerExtendedInfoResponse {
/**
* @return Container identity information
*
*/
private @Nullable ContainerIdentityInfoResponse containerIdentityInfo;
/**
* @return Public key of container cert
*
*/
private @Nullable String rawCertData;
/**
* @return Azure Backup Service Endpoints for the container
*
*/
private @Nullable Map serviceEndpoints;
private GenericContainerExtendedInfoResponse() {}
/**
* @return Container identity information
*
*/
public Optional containerIdentityInfo() {
return Optional.ofNullable(this.containerIdentityInfo);
}
/**
* @return Public key of container cert
*
*/
public Optional rawCertData() {
return Optional.ofNullable(this.rawCertData);
}
/**
* @return Azure Backup Service Endpoints for the container
*
*/
public Map serviceEndpoints() {
return this.serviceEndpoints == null ? Map.of() : this.serviceEndpoints;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GenericContainerExtendedInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ContainerIdentityInfoResponse containerIdentityInfo;
private @Nullable String rawCertData;
private @Nullable Map serviceEndpoints;
public Builder() {}
public Builder(GenericContainerExtendedInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.containerIdentityInfo = defaults.containerIdentityInfo;
this.rawCertData = defaults.rawCertData;
this.serviceEndpoints = defaults.serviceEndpoints;
}
@CustomType.Setter
public Builder containerIdentityInfo(@Nullable ContainerIdentityInfoResponse containerIdentityInfo) {
this.containerIdentityInfo = containerIdentityInfo;
return this;
}
@CustomType.Setter
public Builder rawCertData(@Nullable String rawCertData) {
this.rawCertData = rawCertData;
return this;
}
@CustomType.Setter
public Builder serviceEndpoints(@Nullable Map serviceEndpoints) {
this.serviceEndpoints = serviceEndpoints;
return this;
}
public GenericContainerExtendedInfoResponse build() {
final var _resultValue = new GenericContainerExtendedInfoResponse();
_resultValue.containerIdentityInfo = containerIdentityInfo;
_resultValue.rawCertData = rawCertData;
_resultValue.serviceEndpoints = serviceEndpoints;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy