
com.pulumi.azurenative.solutions.outputs.GetJitRequestResult 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.solutions.outputs;
import com.pulumi.azurenative.solutions.outputs.ApplicationClientDetailsResponse;
import com.pulumi.azurenative.solutions.outputs.JitAuthorizationPoliciesResponse;
import com.pulumi.azurenative.solutions.outputs.JitSchedulingPolicyResponse;
import com.pulumi.azurenative.solutions.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 GetJitRequestResult {
/**
* @return The parent application id.
*
*/
private String applicationResourceId;
/**
* @return The client entity that created the JIT request.
*
*/
private ApplicationClientDetailsResponse createdBy;
/**
* @return Resource ID
*
*/
private String id;
/**
* @return The JIT authorization policies.
*
*/
private List jitAuthorizationPolicies;
/**
* @return The JIT request state.
*
*/
private String jitRequestState;
/**
* @return The JIT request properties.
*
*/
private JitSchedulingPolicyResponse jitSchedulingPolicy;
/**
* @return Resource location
*
*/
private @Nullable String location;
/**
* @return Resource name
*
*/
private String name;
/**
* @return The JIT request provisioning state.
*
*/
private String provisioningState;
/**
* @return The publisher tenant id.
*
*/
private String publisherTenantId;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags
*
*/
private @Nullable Map tags;
/**
* @return Resource type
*
*/
private String type;
/**
* @return The client entity that last updated the JIT request.
*
*/
private ApplicationClientDetailsResponse updatedBy;
private GetJitRequestResult() {}
/**
* @return The parent application id.
*
*/
public String applicationResourceId() {
return this.applicationResourceId;
}
/**
* @return The client entity that created the JIT request.
*
*/
public ApplicationClientDetailsResponse createdBy() {
return this.createdBy;
}
/**
* @return Resource ID
*
*/
public String id() {
return this.id;
}
/**
* @return The JIT authorization policies.
*
*/
public List jitAuthorizationPolicies() {
return this.jitAuthorizationPolicies;
}
/**
* @return The JIT request state.
*
*/
public String jitRequestState() {
return this.jitRequestState;
}
/**
* @return The JIT request properties.
*
*/
public JitSchedulingPolicyResponse jitSchedulingPolicy() {
return this.jitSchedulingPolicy;
}
/**
* @return Resource location
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Resource name
*
*/
public String name() {
return this.name;
}
/**
* @return The JIT request provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The publisher tenant id.
*
*/
public String publisherTenantId() {
return this.publisherTenantId;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Resource type
*
*/
public String type() {
return this.type;
}
/**
* @return The client entity that last updated the JIT request.
*
*/
public ApplicationClientDetailsResponse updatedBy() {
return this.updatedBy;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetJitRequestResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String applicationResourceId;
private ApplicationClientDetailsResponse createdBy;
private String id;
private List jitAuthorizationPolicies;
private String jitRequestState;
private JitSchedulingPolicyResponse jitSchedulingPolicy;
private @Nullable String location;
private String name;
private String provisioningState;
private String publisherTenantId;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private ApplicationClientDetailsResponse updatedBy;
public Builder() {}
public Builder(GetJitRequestResult defaults) {
Objects.requireNonNull(defaults);
this.applicationResourceId = defaults.applicationResourceId;
this.createdBy = defaults.createdBy;
this.id = defaults.id;
this.jitAuthorizationPolicies = defaults.jitAuthorizationPolicies;
this.jitRequestState = defaults.jitRequestState;
this.jitSchedulingPolicy = defaults.jitSchedulingPolicy;
this.location = defaults.location;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.publisherTenantId = defaults.publisherTenantId;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.updatedBy = defaults.updatedBy;
}
@CustomType.Setter
public Builder applicationResourceId(String applicationResourceId) {
if (applicationResourceId == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "applicationResourceId");
}
this.applicationResourceId = applicationResourceId;
return this;
}
@CustomType.Setter
public Builder createdBy(ApplicationClientDetailsResponse createdBy) {
if (createdBy == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "createdBy");
}
this.createdBy = createdBy;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder jitAuthorizationPolicies(List jitAuthorizationPolicies) {
if (jitAuthorizationPolicies == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "jitAuthorizationPolicies");
}
this.jitAuthorizationPolicies = jitAuthorizationPolicies;
return this;
}
public Builder jitAuthorizationPolicies(JitAuthorizationPoliciesResponse... jitAuthorizationPolicies) {
return jitAuthorizationPolicies(List.of(jitAuthorizationPolicies));
}
@CustomType.Setter
public Builder jitRequestState(String jitRequestState) {
if (jitRequestState == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "jitRequestState");
}
this.jitRequestState = jitRequestState;
return this;
}
@CustomType.Setter
public Builder jitSchedulingPolicy(JitSchedulingPolicyResponse jitSchedulingPolicy) {
if (jitSchedulingPolicy == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "jitSchedulingPolicy");
}
this.jitSchedulingPolicy = jitSchedulingPolicy;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publisherTenantId(String publisherTenantId) {
if (publisherTenantId == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "publisherTenantId");
}
this.publisherTenantId = publisherTenantId;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder updatedBy(ApplicationClientDetailsResponse updatedBy) {
if (updatedBy == null) {
throw new MissingRequiredPropertyException("GetJitRequestResult", "updatedBy");
}
this.updatedBy = updatedBy;
return this;
}
public GetJitRequestResult build() {
final var _resultValue = new GetJitRequestResult();
_resultValue.applicationResourceId = applicationResourceId;
_resultValue.createdBy = createdBy;
_resultValue.id = id;
_resultValue.jitAuthorizationPolicies = jitAuthorizationPolicies;
_resultValue.jitRequestState = jitRequestState;
_resultValue.jitSchedulingPolicy = jitSchedulingPolicy;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.publisherTenantId = publisherTenantId;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.updatedBy = updatedBy;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy