Interface UpdateMembershipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMembershipRequest.Builder,,UpdateMembershipRequest> SdkBuilder<UpdateMembershipRequest.Builder,,UpdateMembershipRequest> SdkPojo,SdkRequest.Builder,SecurityIrRequest.Builder
- Enclosing class:
UpdateMembershipRequest
-
Method Summary
Modifier and TypeMethodDescriptionincidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam) Optional element for UpdateMembership to update the membership name.incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Optional element for UpdateMembership to update the membership name.incidentResponseTeam(IncidentResponder... incidentResponseTeam) Optional element for UpdateMembership to update the membership name.default UpdateMembershipRequest.BuildermembershipAccountsConfigurationsUpdate(Consumer<MembershipAccountsConfigurationsUpdate.Builder> membershipAccountsConfigurationsUpdate) ThemembershipAccountsConfigurationsUpdatefield in theUpdateMembershipRequeststructure allows you to update the configuration settings for accounts within a membership.membershipAccountsConfigurationsUpdate(MembershipAccountsConfigurationsUpdate membershipAccountsConfigurationsUpdate) ThemembershipAccountsConfigurationsUpdatefield in theUpdateMembershipRequeststructure allows you to update the configuration settings for accounts within a membership.membershipId(String membershipId) Required element for UpdateMembership to identify the membership to update.membershipName(String membershipName) Optional element for UpdateMembership to update the membership name.optInFeatures(Collection<OptInFeature> optInFeatures) Optional element for UpdateMembership to enable or disable opt-in features for the service.optInFeatures(Consumer<OptInFeature.Builder>... optInFeatures) Optional element for UpdateMembership to enable or disable opt-in features for the service.optInFeatures(OptInFeature... optInFeatures) Optional element for UpdateMembership to enable or disable opt-in features for the service.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.undoMembershipCancellation(Boolean undoMembershipCancellation) TheundoMembershipCancellationparameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityir.model.SecurityIrRequest.Builder
build
-
Method Details
-
membershipId
Required element for UpdateMembership to identify the membership to update.
- Parameters:
membershipId- Required element for UpdateMembership to identify the membership to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipName
Optional element for UpdateMembership to update the membership name.
- Parameters:
membershipName- Optional element for UpdateMembership to update the membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
UpdateMembershipRequest.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam) Optional element for UpdateMembership to update the membership name.
- Parameters:
incidentResponseTeam- Optional element for UpdateMembership to update the membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
Optional element for UpdateMembership to update the membership name.
- Parameters:
incidentResponseTeam- Optional element for UpdateMembership to update the membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
UpdateMembershipRequest.Builder incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Optional element for UpdateMembership to update the membership name.
This is a convenience method that creates an instance of theIncidentResponder.Builderavoiding the need to create one manually viaIncidentResponder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincidentResponseTeam(List<IncidentResponder>).- Parameters:
incidentResponseTeam- a consumer that will call methods onIncidentResponder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optInFeatures
Optional element for UpdateMembership to enable or disable opt-in features for the service.
- Parameters:
optInFeatures- Optional element for UpdateMembership to enable or disable opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element for UpdateMembership to enable or disable opt-in features for the service.
- Parameters:
optInFeatures- Optional element for UpdateMembership to enable or disable opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element for UpdateMembership to enable or disable opt-in features for the service.
This is a convenience method that creates an instance of theOptInFeature.Builderavoiding the need to create one manually viaOptInFeature.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptInFeatures(List<OptInFeature>).- Parameters:
optInFeatures- a consumer that will call methods onOptInFeature.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
membershipAccountsConfigurationsUpdate
UpdateMembershipRequest.Builder membershipAccountsConfigurationsUpdate(MembershipAccountsConfigurationsUpdate membershipAccountsConfigurationsUpdate) The
membershipAccountsConfigurationsUpdatefield in theUpdateMembershipRequeststructure allows you to update the configuration settings for accounts within a membership.This field is optional and contains a structure of type
MembershipAccountsConfigurationsUpdatethat specifies the updated account configurations for the membership.- Parameters:
membershipAccountsConfigurationsUpdate- ThemembershipAccountsConfigurationsUpdatefield in theUpdateMembershipRequeststructure allows you to update the configuration settings for accounts within a membership.This field is optional and contains a structure of type
MembershipAccountsConfigurationsUpdatethat specifies the updated account configurations for the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipAccountsConfigurationsUpdate
default UpdateMembershipRequest.Builder membershipAccountsConfigurationsUpdate(Consumer<MembershipAccountsConfigurationsUpdate.Builder> membershipAccountsConfigurationsUpdate) The
membershipAccountsConfigurationsUpdatefield in theUpdateMembershipRequeststructure allows you to update the configuration settings for accounts within a membership.This field is optional and contains a structure of type
This is a convenience method that creates an instance of theMembershipAccountsConfigurationsUpdatethat specifies the updated account configurations for the membership.MembershipAccountsConfigurationsUpdate.Builderavoiding the need to create one manually viaMembershipAccountsConfigurationsUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomembershipAccountsConfigurationsUpdate(MembershipAccountsConfigurationsUpdate).- Parameters:
membershipAccountsConfigurationsUpdate- a consumer that will call methods onMembershipAccountsConfigurationsUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
undoMembershipCancellation
The
undoMembershipCancellationparameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation. When set to true, this will revoke the cancellation request and maintain the membership status.This parameter is optional and can be used in scenarios where you need to restore a membership that was marked for cancellation but hasn't been fully terminated yet.
-
If set to
true, the cancellation request will be revoked -
If set to
falsethe service will throw a ValidationException.
- Parameters:
undoMembershipCancellation- TheundoMembershipCancellationparameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation. When set to true, this will revoke the cancellation request and maintain the membership status.This parameter is optional and can be used in scenarios where you need to restore a membership that was marked for cancellation but hasn't been fully terminated yet.
-
If set to
true, the cancellation request will be revoked -
If set to
falsethe service will throw a ValidationException.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdateMembershipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMembershipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-