Interface ChangeSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChangeSpecification.Builder,,ChangeSpecification> SdkBuilder<ChangeSpecification.Builder,,ChangeSpecification> SdkPojo
- Enclosing class:
ChangeSpecification
@Mutable
@NotThreadSafe
public static interface ChangeSpecification.Builder
extends SdkPojo, CopyableBuilder<ChangeSpecification.Builder,ChangeSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChangeSpecification.Buildercollaboration(Consumer<CollaborationChangeSpecification.Builder> collaboration) The collaboration configuration changes being requested.collaboration(CollaborationChangeSpecification collaboration) The collaboration configuration changes being requested.default ChangeSpecification.BuilderThe member change specification when the change type isMEMBER.member(MemberChangeSpecification member) The member change specification when the change type isMEMBER.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
-
member
The member change specification when the change type is
MEMBER.- Parameters:
member- The member change specification when the change type isMEMBER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The member change specification when the change type is
This is a convenience method that creates an instance of theMEMBER.MemberChangeSpecification.Builderavoiding the need to create one manually viaMemberChangeSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomember(MemberChangeSpecification).- Parameters:
member- a consumer that will call methods onMemberChangeSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
collaboration
The collaboration configuration changes being requested. Currently, this only supports modifying which change types are auto-approved for the collaboration.
- Parameters:
collaboration- The collaboration configuration changes being requested. Currently, this only supports modifying which change types are auto-approved for the collaboration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaboration
default ChangeSpecification.Builder collaboration(Consumer<CollaborationChangeSpecification.Builder> collaboration) The collaboration configuration changes being requested. Currently, this only supports modifying which change types are auto-approved for the collaboration.
This is a convenience method that creates an instance of theCollaborationChangeSpecification.Builderavoiding the need to create one manually viaCollaborationChangeSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocollaboration(CollaborationChangeSpecification).- Parameters:
collaboration- a consumer that will call methods onCollaborationChangeSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-