com.pulumi.azurenative.web.outputs.SlotSwapStatusResponse 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.web.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SlotSwapStatusResponse {
/**
* @return The destination slot of the last swap operation.
*
*/
private String destinationSlotName;
/**
* @return The source slot of the last swap operation.
*
*/
private String sourceSlotName;
/**
* @return The time the last successful slot swap completed.
*
*/
private String timestampUtc;
private SlotSwapStatusResponse() {}
/**
* @return The destination slot of the last swap operation.
*
*/
public String destinationSlotName() {
return this.destinationSlotName;
}
/**
* @return The source slot of the last swap operation.
*
*/
public String sourceSlotName() {
return this.sourceSlotName;
}
/**
* @return The time the last successful slot swap completed.
*
*/
public String timestampUtc() {
return this.timestampUtc;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SlotSwapStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String destinationSlotName;
private String sourceSlotName;
private String timestampUtc;
public Builder() {}
public Builder(SlotSwapStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.destinationSlotName = defaults.destinationSlotName;
this.sourceSlotName = defaults.sourceSlotName;
this.timestampUtc = defaults.timestampUtc;
}
@CustomType.Setter
public Builder destinationSlotName(String destinationSlotName) {
if (destinationSlotName == null) {
throw new MissingRequiredPropertyException("SlotSwapStatusResponse", "destinationSlotName");
}
this.destinationSlotName = destinationSlotName;
return this;
}
@CustomType.Setter
public Builder sourceSlotName(String sourceSlotName) {
if (sourceSlotName == null) {
throw new MissingRequiredPropertyException("SlotSwapStatusResponse", "sourceSlotName");
}
this.sourceSlotName = sourceSlotName;
return this;
}
@CustomType.Setter
public Builder timestampUtc(String timestampUtc) {
if (timestampUtc == null) {
throw new MissingRequiredPropertyException("SlotSwapStatusResponse", "timestampUtc");
}
this.timestampUtc = timestampUtc;
return this;
}
public SlotSwapStatusResponse build() {
final var _resultValue = new SlotSwapStatusResponse();
_resultValue.destinationSlotName = destinationSlotName;
_resultValue.sourceSlotName = sourceSlotName;
_resultValue.timestampUtc = timestampUtc;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy