Interface AccessDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessDescription.Builder,,AccessDescription> SdkBuilder<AccessDescription.Builder,,AccessDescription> SdkPojo
- Enclosing class:
AccessDescription
public static interface AccessDescription.Builder
extends SdkPojo, CopyableBuilder<AccessDescription.Builder,AccessDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AccessDescription.BuilderaccessLocation(Consumer<GeneralName.Builder> accessLocation) The location ofAccessDescriptioninformation.accessLocation(GeneralName accessLocation) The location ofAccessDescriptioninformation.default AccessDescription.BuilderaccessMethod(Consumer<AccessMethod.Builder> accessMethod) The type and format ofAccessDescriptioninformation.accessMethod(AccessMethod accessMethod) The type and format ofAccessDescriptioninformation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accessMethod
The type and format of
AccessDescriptioninformation.- Parameters:
accessMethod- The type and format ofAccessDescriptioninformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessMethod
The type and format of
This is a convenience method that creates an instance of theAccessDescriptioninformation.AccessMethod.Builderavoiding the need to create one manually viaAccessMethod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessMethod(AccessMethod).- Parameters:
accessMethod- a consumer that will call methods onAccessMethod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessLocation
The location of
AccessDescriptioninformation.- Parameters:
accessLocation- The location ofAccessDescriptioninformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessLocation
The location of
This is a convenience method that creates an instance of theAccessDescriptioninformation.GeneralName.Builderavoiding the need to create one manually viaGeneralName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessLocation(GeneralName).- Parameters:
accessLocation- a consumer that will call methods onGeneralName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-