cfdsl.s3.property.VersioningConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cfdsl Show documentation
Show all versions of cfdsl Show documentation
Java DSL for Amazon CloudFormation templates
The newest version!
package cfdsl.s3.property;
import cfdsl.EmbeddedProperty;
public class VersioningConfiguration extends EmbeddedProperty {
private VersioningConfiguration(Builder b) {
super(b);
}
public static VersioningConfiguration forStatus(String status) {
return new Builder(status).build();
}
private static final class Builder extends EmbeddedProperty.Builder {
private Builder(String status) {
addProperty("Status", status);
}
@Override
public VersioningConfiguration build() {
return new VersioningConfiguration(this);
}
}
}