Interface CreateMembershipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMembershipRequest.Builder,,CreateMembershipRequest> SdkBuilder<CreateMembershipRequest.Builder,,CreateMembershipRequest> SdkPojo,SdkRequest.Builder,SecurityIrRequest.Builder
- Enclosing class:
CreateMembershipRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) An optional element used in combination with CreateMembership.incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam) Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.incidentResponseTeam(IncidentResponder... incidentResponseTeam) Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.membershipName(String membershipName) Required element use in combination with CreateMembership to create a name for the membership.optInFeatures(Collection<OptInFeature> optInFeatures) Optional element to enable the monitoring and investigation opt-in features for the service.optInFeatures(Consumer<OptInFeature.Builder>... optInFeatures) Optional element to enable the monitoring and investigation opt-in features for the service.optInFeatures(OptInFeature... optInFeatures) Optional element to enable the monitoring and investigation 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.Optional element for customer configured tags.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
-
clientToken
An optional element used in combination with CreateMembership.
- Parameters:
clientToken- An optional element used in combination with CreateMembership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipName
Required element use in combination with CreateMembership to create a name for the membership.
- Parameters:
membershipName- Required element use in combination with CreateMembership to create a name for the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
CreateMembershipRequest.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam) Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
- Parameters:
incidentResponseTeam- Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
- Parameters:
incidentResponseTeam- Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
CreateMembershipRequest.Builder incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Required element use in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
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 to enable the monitoring and investigation opt-in features for the service.
- Parameters:
optInFeatures- Optional element to enable the monitoring and investigation opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element to enable the monitoring and investigation opt-in features for the service.
- Parameters:
optInFeatures- Optional element to enable the monitoring and investigation opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element to enable the monitoring and investigation 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:
-
tags
Optional element for customer configured tags.
- Parameters:
tags- Optional element for customer configured tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateMembershipRequest.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
CreateMembershipRequest.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.
-