com.pulumi.azurenative.security.outputs.GovernanceAssignmentAdditionalDataResponse 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.security.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GovernanceAssignmentAdditionalDataResponse {
/**
* @return Ticket link associated with this governance assignment - for example: https://snow.com
*
*/
private @Nullable String ticketLink;
/**
* @return Ticket number associated with this governance assignment
*
*/
private @Nullable Integer ticketNumber;
/**
* @return The ticket status associated with this governance assignment - for example: Active
*
*/
private @Nullable String ticketStatus;
private GovernanceAssignmentAdditionalDataResponse() {}
/**
* @return Ticket link associated with this governance assignment - for example: https://snow.com
*
*/
public Optional ticketLink() {
return Optional.ofNullable(this.ticketLink);
}
/**
* @return Ticket number associated with this governance assignment
*
*/
public Optional ticketNumber() {
return Optional.ofNullable(this.ticketNumber);
}
/**
* @return The ticket status associated with this governance assignment - for example: Active
*
*/
public Optional ticketStatus() {
return Optional.ofNullable(this.ticketStatus);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GovernanceAssignmentAdditionalDataResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String ticketLink;
private @Nullable Integer ticketNumber;
private @Nullable String ticketStatus;
public Builder() {}
public Builder(GovernanceAssignmentAdditionalDataResponse defaults) {
Objects.requireNonNull(defaults);
this.ticketLink = defaults.ticketLink;
this.ticketNumber = defaults.ticketNumber;
this.ticketStatus = defaults.ticketStatus;
}
@CustomType.Setter
public Builder ticketLink(@Nullable String ticketLink) {
this.ticketLink = ticketLink;
return this;
}
@CustomType.Setter
public Builder ticketNumber(@Nullable Integer ticketNumber) {
this.ticketNumber = ticketNumber;
return this;
}
@CustomType.Setter
public Builder ticketStatus(@Nullable String ticketStatus) {
this.ticketStatus = ticketStatus;
return this;
}
public GovernanceAssignmentAdditionalDataResponse build() {
final var _resultValue = new GovernanceAssignmentAdditionalDataResponse();
_resultValue.ticketLink = ticketLink;
_resultValue.ticketNumber = ticketNumber;
_resultValue.ticketStatus = ticketStatus;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy