
com.pulumi.azurenative.hybridconnectivity.outputs.GetServiceConfigurationResult 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.azurenative.hybridconnectivity.outputs;
import com.pulumi.azurenative.hybridconnectivity.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetServiceConfigurationResult {
/**
* @return The timestamp of resource creation (UTC).
*
*/
private @Nullable String createdAt;
/**
* @return The identity that created the resource.
*
*/
private @Nullable String createdBy;
/**
* @return The type of identity that created the resource.
*
*/
private @Nullable String createdByType;
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @return The timestamp of resource last modification (UTC)
*
*/
private @Nullable String lastModifiedAt;
/**
* @return The identity that last modified the resource.
*
*/
private @Nullable String lastModifiedBy;
/**
* @return The type of identity that last modified the resource.
*
*/
private @Nullable String lastModifiedByType;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The port on which service is enabled.
*
*/
private @Nullable Double port;
/**
* @return The resource provisioning state.
*
*/
private String provisioningState;
/**
* @return The resource Id of the connectivity endpoint (optional).
*
*/
private @Nullable String resourceId;
/**
* @return Name of the service.
*
*/
private String serviceName;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetServiceConfigurationResult() {}
/**
* @return The timestamp of resource creation (UTC).
*
*/
public Optional createdAt() {
return Optional.ofNullable(this.createdAt);
}
/**
* @return The identity that created the resource.
*
*/
public Optional createdBy() {
return Optional.ofNullable(this.createdBy);
}
/**
* @return The type of identity that created the resource.
*
*/
public Optional createdByType() {
return Optional.ofNullable(this.createdByType);
}
/**
* @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @return The timestamp of resource last modification (UTC)
*
*/
public Optional lastModifiedAt() {
return Optional.ofNullable(this.lastModifiedAt);
}
/**
* @return The identity that last modified the resource.
*
*/
public Optional lastModifiedBy() {
return Optional.ofNullable(this.lastModifiedBy);
}
/**
* @return The type of identity that last modified the resource.
*
*/
public Optional lastModifiedByType() {
return Optional.ofNullable(this.lastModifiedByType);
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The port on which service is enabled.
*
*/
public Optional port() {
return Optional.ofNullable(this.port);
}
/**
* @return The resource provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The resource Id of the connectivity endpoint (optional).
*
*/
public Optional resourceId() {
return Optional.ofNullable(this.resourceId);
}
/**
* @return Name of the service.
*
*/
public String serviceName() {
return this.serviceName;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServiceConfigurationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String createdAt;
private @Nullable String createdBy;
private @Nullable String createdByType;
private String id;
private @Nullable String lastModifiedAt;
private @Nullable String lastModifiedBy;
private @Nullable String lastModifiedByType;
private String name;
private @Nullable Double port;
private String provisioningState;
private @Nullable String resourceId;
private String serviceName;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetServiceConfigurationResult defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.createdBy = defaults.createdBy;
this.createdByType = defaults.createdByType;
this.id = defaults.id;
this.lastModifiedAt = defaults.lastModifiedAt;
this.lastModifiedBy = defaults.lastModifiedBy;
this.lastModifiedByType = defaults.lastModifiedByType;
this.name = defaults.name;
this.port = defaults.port;
this.provisioningState = defaults.provisioningState;
this.resourceId = defaults.resourceId;
this.serviceName = defaults.serviceName;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder createdAt(@Nullable String createdAt) {
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder createdBy(@Nullable String createdBy) {
this.createdBy = createdBy;
return this;
}
@CustomType.Setter
public Builder createdByType(@Nullable String createdByType) {
this.createdByType = createdByType;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetServiceConfigurationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastModifiedAt(@Nullable String lastModifiedAt) {
this.lastModifiedAt = lastModifiedAt;
return this;
}
@CustomType.Setter
public Builder lastModifiedBy(@Nullable String lastModifiedBy) {
this.lastModifiedBy = lastModifiedBy;
return this;
}
@CustomType.Setter
public Builder lastModifiedByType(@Nullable String lastModifiedByType) {
this.lastModifiedByType = lastModifiedByType;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetServiceConfigurationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder port(@Nullable Double port) {
this.port = port;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetServiceConfigurationResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder resourceId(@Nullable String resourceId) {
this.resourceId = resourceId;
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("GetServiceConfigurationResult", "serviceName");
}
this.serviceName = serviceName;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetServiceConfigurationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetServiceConfigurationResult", "type");
}
this.type = type;
return this;
}
public GetServiceConfigurationResult build() {
final var _resultValue = new GetServiceConfigurationResult();
_resultValue.createdAt = createdAt;
_resultValue.createdBy = createdBy;
_resultValue.createdByType = createdByType;
_resultValue.id = id;
_resultValue.lastModifiedAt = lastModifiedAt;
_resultValue.lastModifiedBy = lastModifiedBy;
_resultValue.lastModifiedByType = lastModifiedByType;
_resultValue.name = name;
_resultValue.port = port;
_resultValue.provisioningState = provisioningState;
_resultValue.resourceId = resourceId;
_resultValue.serviceName = serviceName;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy