
com.pulumi.azurenative.migrate.outputs.CollectorPropertiesResponse 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.CollectorAgentPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CollectorPropertiesResponse {
private @Nullable CollectorAgentPropertiesResponse agentProperties;
/**
* @return Time when this collector was created. Date-Time represented in ISO-8601 format.
*
*/
private String createdTimestamp;
/**
* @return The ARM id of the discovery service site.
*
*/
private @Nullable String discoverySiteId;
/**
* @return Time when this collector was updated. Date-Time represented in ISO-8601 format.
*
*/
private String updatedTimestamp;
private CollectorPropertiesResponse() {}
public Optional agentProperties() {
return Optional.ofNullable(this.agentProperties);
}
/**
* @return Time when this collector was created. Date-Time represented in ISO-8601 format.
*
*/
public String createdTimestamp() {
return this.createdTimestamp;
}
/**
* @return The ARM id of the discovery service site.
*
*/
public Optional discoverySiteId() {
return Optional.ofNullable(this.discoverySiteId);
}
/**
* @return Time when this collector was updated. Date-Time represented in ISO-8601 format.
*
*/
public String updatedTimestamp() {
return this.updatedTimestamp;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CollectorPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable CollectorAgentPropertiesResponse agentProperties;
private String createdTimestamp;
private @Nullable String discoverySiteId;
private String updatedTimestamp;
public Builder() {}
public Builder(CollectorPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.agentProperties = defaults.agentProperties;
this.createdTimestamp = defaults.createdTimestamp;
this.discoverySiteId = defaults.discoverySiteId;
this.updatedTimestamp = defaults.updatedTimestamp;
}
@CustomType.Setter
public Builder agentProperties(@Nullable CollectorAgentPropertiesResponse agentProperties) {
this.agentProperties = agentProperties;
return this;
}
@CustomType.Setter
public Builder createdTimestamp(String createdTimestamp) {
if (createdTimestamp == null) {
throw new MissingRequiredPropertyException("CollectorPropertiesResponse", "createdTimestamp");
}
this.createdTimestamp = createdTimestamp;
return this;
}
@CustomType.Setter
public Builder discoverySiteId(@Nullable String discoverySiteId) {
this.discoverySiteId = discoverySiteId;
return this;
}
@CustomType.Setter
public Builder updatedTimestamp(String updatedTimestamp) {
if (updatedTimestamp == null) {
throw new MissingRequiredPropertyException("CollectorPropertiesResponse", "updatedTimestamp");
}
this.updatedTimestamp = updatedTimestamp;
return this;
}
public CollectorPropertiesResponse build() {
final var _resultValue = new CollectorPropertiesResponse();
_resultValue.agentProperties = agentProperties;
_resultValue.createdTimestamp = createdTimestamp;
_resultValue.discoverySiteId = discoverySiteId;
_resultValue.updatedTimestamp = updatedTimestamp;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy