Class CfnEndpoint.ContainerLogRotationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrcontainers.CfnEndpoint.ContainerLogRotationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.ContainerLogRotationConfigurationProperty>
- Enclosing interface:
CfnEndpoint.ContainerLogRotationConfigurationProperty
@Stability(Stable)
public static final class CfnEndpoint.ContainerLogRotationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.ContainerLogRotationConfigurationProperty>
A builder for
CfnEndpoint.ContainerLogRotationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxFilesToKeep(Number maxFilesToKeep) rotationSize(String rotationSize) Sets the value ofCfnEndpoint.ContainerLogRotationConfigurationProperty.getRotationSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxFilesToKeep
@Stability(Stable) public CfnEndpoint.ContainerLogRotationConfigurationProperty.Builder maxFilesToKeep(Number maxFilesToKeep) - Parameters:
maxFilesToKeep- the value to be set. This parameter is required.- Returns:
this
-
rotationSize
@Stability(Stable) public CfnEndpoint.ContainerLogRotationConfigurationProperty.Builder rotationSize(String rotationSize) Sets the value ofCfnEndpoint.ContainerLogRotationConfigurationProperty.getRotationSize()- Parameters:
rotationSize- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpoint.ContainerLogRotationConfigurationProperty>- Returns:
- a new instance of
CfnEndpoint.ContainerLogRotationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-