com.pulumi.azurenative.app.outputs.GetJobResult 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.app.outputs;
import com.pulumi.azurenative.app.outputs.JobConfigurationResponse;
import com.pulumi.azurenative.app.outputs.JobTemplateResponse;
import com.pulumi.azurenative.app.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.app.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetJobResult {
/**
* @return Container Apps Job configuration properties.
*
*/
private @Nullable JobConfigurationResponse configuration;
/**
* @return Resource ID of environment.
*
*/
private @Nullable String environmentId;
/**
* @return The endpoint of the eventstream of the container apps job.
*
*/
private String eventStreamEndpoint;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
*
*/
private @Nullable ManagedServiceIdentityResponse identity;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Outbound IP Addresses of a container apps job.
*
*/
private List outboundIpAddresses;
/**
* @return Provisioning state of the Container Apps Job.
*
*/
private String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Container Apps job definition.
*
*/
private @Nullable JobTemplateResponse template;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Workload profile name to pin for container apps job execution.
*
*/
private @Nullable String workloadProfileName;
private GetJobResult() {}
/**
* @return Container Apps Job configuration properties.
*
*/
public Optional configuration() {
return Optional.ofNullable(this.configuration);
}
/**
* @return Resource ID of environment.
*
*/
public Optional environmentId() {
return Optional.ofNullable(this.environmentId);
}
/**
* @return The endpoint of the eventstream of the container apps job.
*
*/
public String eventStreamEndpoint() {
return this.eventStreamEndpoint;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Outbound IP Addresses of a container apps job.
*
*/
public List outboundIpAddresses() {
return this.outboundIpAddresses;
}
/**
* @return Provisioning state of the Container Apps Job.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Container Apps job definition.
*
*/
public Optional template() {
return Optional.ofNullable(this.template);
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Workload profile name to pin for container apps job execution.
*
*/
public Optional workloadProfileName() {
return Optional.ofNullable(this.workloadProfileName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetJobResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable JobConfigurationResponse configuration;
private @Nullable String environmentId;
private String eventStreamEndpoint;
private String id;
private @Nullable ManagedServiceIdentityResponse identity;
private String location;
private String name;
private List outboundIpAddresses;
private String provisioningState;
private SystemDataResponse systemData;
private @Nullable Map tags;
private @Nullable JobTemplateResponse template;
private String type;
private @Nullable String workloadProfileName;
public Builder() {}
public Builder(GetJobResult defaults) {
Objects.requireNonNull(defaults);
this.configuration = defaults.configuration;
this.environmentId = defaults.environmentId;
this.eventStreamEndpoint = defaults.eventStreamEndpoint;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.name = defaults.name;
this.outboundIpAddresses = defaults.outboundIpAddresses;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.template = defaults.template;
this.type = defaults.type;
this.workloadProfileName = defaults.workloadProfileName;
}
@CustomType.Setter
public Builder configuration(@Nullable JobConfigurationResponse configuration) {
this.configuration = configuration;
return this;
}
@CustomType.Setter
public Builder environmentId(@Nullable String environmentId) {
this.environmentId = environmentId;
return this;
}
@CustomType.Setter
public Builder eventStreamEndpoint(String eventStreamEndpoint) {
if (eventStreamEndpoint == null) {
throw new MissingRequiredPropertyException("GetJobResult", "eventStreamEndpoint");
}
this.eventStreamEndpoint = eventStreamEndpoint;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetJobResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ManagedServiceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetJobResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetJobResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder outboundIpAddresses(List outboundIpAddresses) {
if (outboundIpAddresses == null) {
throw new MissingRequiredPropertyException("GetJobResult", "outboundIpAddresses");
}
this.outboundIpAddresses = outboundIpAddresses;
return this;
}
public Builder outboundIpAddresses(String... outboundIpAddresses) {
return outboundIpAddresses(List.of(outboundIpAddresses));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetJobResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetJobResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder template(@Nullable JobTemplateResponse template) {
this.template = template;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetJobResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder workloadProfileName(@Nullable String workloadProfileName) {
this.workloadProfileName = workloadProfileName;
return this;
}
public GetJobResult build() {
final var _resultValue = new GetJobResult();
_resultValue.configuration = configuration;
_resultValue.environmentId = environmentId;
_resultValue.eventStreamEndpoint = eventStreamEndpoint;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.outboundIpAddresses = outboundIpAddresses;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.template = template;
_resultValue.type = type;
_resultValue.workloadProfileName = workloadProfileName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy