com.pulumi.aws.codebuild.outputs.FleetStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.codebuild.outputs;
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 FleetStatus {
/**
* @return Additional information about a compute fleet.
*
*/
private @Nullable String context;
/**
* @return Message associated with the status of a compute fleet.
*
*/
private @Nullable String message;
/**
* @return Status code of the compute fleet.
*
*/
private @Nullable String statusCode;
private FleetStatus() {}
/**
* @return Additional information about a compute fleet.
*
*/
public Optional context() {
return Optional.ofNullable(this.context);
}
/**
* @return Message associated with the status of a compute fleet.
*
*/
public Optional message() {
return Optional.ofNullable(this.message);
}
/**
* @return Status code of the compute fleet.
*
*/
public Optional statusCode() {
return Optional.ofNullable(this.statusCode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FleetStatus defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String context;
private @Nullable String message;
private @Nullable String statusCode;
public Builder() {}
public Builder(FleetStatus defaults) {
Objects.requireNonNull(defaults);
this.context = defaults.context;
this.message = defaults.message;
this.statusCode = defaults.statusCode;
}
@CustomType.Setter
public Builder context(@Nullable String context) {
this.context = context;
return this;
}
@CustomType.Setter
public Builder message(@Nullable String message) {
this.message = message;
return this;
}
@CustomType.Setter
public Builder statusCode(@Nullable String statusCode) {
this.statusCode = statusCode;
return this;
}
public FleetStatus build() {
final var _resultValue = new FleetStatus();
_resultValue.context = context;
_resultValue.message = message;
_resultValue.statusCode = statusCode;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy