Interface LakeFormationOptInsInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LakeFormationOptInsInfo.Builder,
,LakeFormationOptInsInfo> SdkBuilder<LakeFormationOptInsInfo.Builder,
,LakeFormationOptInsInfo> SdkPojo
- Enclosing class:
LakeFormationOptInsInfo
public static interface LakeFormationOptInsInfo.Builder
extends SdkPojo, CopyableBuilder<LakeFormationOptInsInfo.Builder,LakeFormationOptInsInfo>
-
Method Summary
Modifier and TypeMethodDescriptionlastModified
(Instant lastModified) The last modified date and time of the record.lastUpdatedBy
(String lastUpdatedBy) The user who updated the record.default LakeFormationOptInsInfo.Builder
principal
(Consumer<DataLakePrincipal.Builder> principal) Sets the value of the Principal property for this object.principal
(DataLakePrincipal principal) Sets the value of the Principal property for this object.default LakeFormationOptInsInfo.Builder
resource
(Consumer<Resource.Builder> resource) Sets the value of the Resource property for this object.Sets the value of the Resource property for this object.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
-
resource
Sets the value of the Resource property for this object.- Parameters:
resource
- The new value for the Resource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Sets the value of the Resource property for this object. This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(Resource)
.- Parameters:
resource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
Sets the value of the Principal property for this object.- Parameters:
principal
- The new value for the Principal property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
Sets the value of the Principal property for this object. This is a convenience method that creates an instance of theDataLakePrincipal.Builder
avoiding the need to create one manually viaDataLakePrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipal(DataLakePrincipal)
.- Parameters:
principal
- a consumer that will call methods onDataLakePrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModified
The last modified date and time of the record.
- Parameters:
lastModified
- The last modified date and time of the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
The user who updated the record.
- Parameters:
lastUpdatedBy
- The user who updated the record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-