com.pulumi.azurenative.awsconnector.outputs.LastRunErrorStatusResponse 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.
The newest version!
// *** 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.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.LastRunErrorStatusCodeEnumValueResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LastRunErrorStatusResponse {
/**
* @return <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
*
*/
private @Nullable LastRunErrorStatusCodeEnumValueResponse code;
private LastRunErrorStatusResponse() {}
/**
* @return <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
*
*/
public Optional code() {
return Optional.ofNullable(this.code);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LastRunErrorStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable LastRunErrorStatusCodeEnumValueResponse code;
public Builder() {}
public Builder(LastRunErrorStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
}
@CustomType.Setter
public Builder code(@Nullable LastRunErrorStatusCodeEnumValueResponse code) {
this.code = code;
return this;
}
public LastRunErrorStatusResponse build() {
final var _resultValue = new LastRunErrorStatusResponse();
_resultValue.code = code;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy