com.pulumi.azurenative.containerregistry.outputs.EventResponse 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.containerregistry.outputs;
import com.pulumi.azurenative.containerregistry.outputs.EventRequestMessageResponse;
import com.pulumi.azurenative.containerregistry.outputs.EventResponseMessageResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EventResponse {
/**
* @return The event request message sent to the service URI.
*
*/
private @Nullable EventRequestMessageResponse eventRequestMessage;
/**
* @return The event response message received from the service URI.
*
*/
private @Nullable EventResponseMessageResponse eventResponseMessage;
/**
* @return The event ID.
*
*/
private @Nullable String id;
private EventResponse() {}
/**
* @return The event request message sent to the service URI.
*
*/
public Optional eventRequestMessage() {
return Optional.ofNullable(this.eventRequestMessage);
}
/**
* @return The event response message received from the service URI.
*
*/
public Optional eventResponseMessage() {
return Optional.ofNullable(this.eventResponseMessage);
}
/**
* @return The event ID.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EventResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EventRequestMessageResponse eventRequestMessage;
private @Nullable EventResponseMessageResponse eventResponseMessage;
private @Nullable String id;
public Builder() {}
public Builder(EventResponse defaults) {
Objects.requireNonNull(defaults);
this.eventRequestMessage = defaults.eventRequestMessage;
this.eventResponseMessage = defaults.eventResponseMessage;
this.id = defaults.id;
}
@CustomType.Setter
public Builder eventRequestMessage(@Nullable EventRequestMessageResponse eventRequestMessage) {
this.eventRequestMessage = eventRequestMessage;
return this;
}
@CustomType.Setter
public Builder eventResponseMessage(@Nullable EventResponseMessageResponse eventResponseMessage) {
this.eventResponseMessage = eventResponseMessage;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
public EventResponse build() {
final var _resultValue = new EventResponse();
_resultValue.eventRequestMessage = eventRequestMessage;
_resultValue.eventResponseMessage = eventResponseMessage;
_resultValue.id = id;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy