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.Builder
accessLocation
(Consumer<GeneralName.Builder> accessLocation) The location ofAccessDescription
information.accessLocation
(GeneralName accessLocation) The location ofAccessDescription
information.default AccessDescription.Builder
accessMethod
(Consumer<AccessMethod.Builder> accessMethod) The type and format ofAccessDescription
information.accessMethod
(AccessMethod accessMethod) The type and format ofAccessDescription
information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessMethod
The type and format of
AccessDescription
information.- Parameters:
accessMethod
- The type and format ofAccessDescription
information.- 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 theAccessDescription
information.AccessMethod.Builder
avoiding the need to create one manually viaAccessMethod.builder()
.When the
Consumer
completes,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
AccessDescription
information.- Parameters:
accessLocation
- The location ofAccessDescription
information.- 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 theAccessDescription
information.GeneralName.Builder
avoiding the need to create one manually viaGeneralName.builder()
.When the
Consumer
completes,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:
-