Class RevocationContent.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.RevocationContent.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RevocationContent>
- Enclosing interface:
RevocationContent
@Stability(Stable)
public static final class RevocationContent.Builder
extends Object
implements software.amazon.jsii.Builder<RevocationContent>
A builder for
RevocationContent-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket(IBucketRef bucket) Sets the value ofRevocationContent.getBucket()build()Builds the configured instance.Sets the value ofRevocationContent.getKey()revocationType(RevocationType revocationType) Sets the value ofRevocationContent.getRevocationType()Sets the value ofRevocationContent.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofRevocationContent.getBucket()- Parameters:
bucket- The Amazon S3 bucket for the revocation file. This parameter is required.- Returns:
this
-
key
Sets the value ofRevocationContent.getKey()- Parameters:
key- The Amazon S3 path for the revocation file. This parameter is required.- Returns:
this
-
revocationType
Sets the value ofRevocationContent.getRevocationType()- Parameters:
revocationType- The type of revocation file.- Returns:
this
-
version
Sets the value ofRevocationContent.getVersion()- Parameters:
version- The Amazon S3 object version of the revocation file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RevocationContent>- Returns:
- a new instance of
RevocationContent - Throws:
NullPointerException- if any required attribute was not provided
-