Interface GetMembershipResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMembershipResponse.Builder,GetMembershipResponse>,SdkBuilder<GetMembershipResponse.Builder,GetMembershipResponse>,SdkPojo,SdkResponse.Builder,SecurityIrResponse.Builder
- Enclosing class:
- GetMembershipResponse
public static interface GetMembershipResponse.Builder extends SecurityIrResponse.Builder, SdkPojo, CopyableBuilder<GetMembershipResponse.Builder,GetMembershipResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMembershipResponse.BuilderaccountId(String accountId)Response element for GetMembership that provides the configured account for managing the membership.GetMembershipResponse.BuildercustomerType(String customerType)Response element for GetMembership that provides the configured membership type.GetMembershipResponse.BuildercustomerType(CustomerType customerType)Response element for GetMembership that provides the configured membership type.GetMembershipResponse.BuilderincidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam)Response element for GetMembership that provides the configured membership incident response team members.GetMembershipResponse.BuilderincidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam)Response element for GetMembership that provides the configured membership incident response team members.GetMembershipResponse.BuilderincidentResponseTeam(IncidentResponder... incidentResponseTeam)Response element for GetMembership that provides the configured membership incident response team members.GetMembershipResponse.BuildermembershipActivationTimestamp(Instant membershipActivationTimestamp)Response element for GetMembership that provides the configured membership activation timestamp.GetMembershipResponse.BuildermembershipArn(String membershipArn)Response element for GetMembership that provides the membership ARN.GetMembershipResponse.BuildermembershipDeactivationTimestamp(Instant membershipDeactivationTimestamp)Response element for GetMembership that provides the configured membership name deactivation timestamp.GetMembershipResponse.BuildermembershipId(String membershipId)Response element for GetMembership that provides the queried membership ID.GetMembershipResponse.BuildermembershipName(String membershipName)Response element for GetMembership that provides the configured membership name.GetMembershipResponse.BuildermembershipStatus(String membershipStatus)Response element for GetMembership that provides the current membership status.GetMembershipResponse.BuildermembershipStatus(MembershipStatus membershipStatus)Response element for GetMembership that provides the current membership status.GetMembershipResponse.BuildernumberOfAccountsCovered(Long numberOfAccountsCovered)Response element for GetMembership that provides the number of accounts in the membership.GetMembershipResponse.BuilderoptInFeatures(Collection<OptInFeature> optInFeatures)Response element for GetMembership that provides the if opt-in features have been enabled.GetMembershipResponse.BuilderoptInFeatures(Consumer<OptInFeature.Builder>... optInFeatures)Response element for GetMembership that provides the if opt-in features have been enabled.GetMembershipResponse.BuilderoptInFeatures(OptInFeature... optInFeatures)Response element for GetMembership that provides the if opt-in features have been enabled.GetMembershipResponse.Builderregion(String region)Response element for GetMembership that provides the configured region for managing the membership.GetMembershipResponse.Builderregion(AwsRegion region)Response element for GetMembership that provides the configured region for managing the membership.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.securityir.model.SecurityIrResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
membershipId
GetMembershipResponse.Builder membershipId(String membershipId)
Response element for GetMembership that provides the queried membership ID.
- Parameters:
membershipId- Response element for GetMembership that provides the queried membership ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
GetMembershipResponse.Builder accountId(String accountId)
Response element for GetMembership that provides the configured account for managing the membership.
- Parameters:
accountId- Response element for GetMembership that provides the configured account for managing the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
GetMembershipResponse.Builder region(String region)
Response element for GetMembership that provides the configured region for managing the membership.
-
region
GetMembershipResponse.Builder region(AwsRegion region)
Response element for GetMembership that provides the configured region for managing the membership.
-
membershipName
GetMembershipResponse.Builder membershipName(String membershipName)
Response element for GetMembership that provides the configured membership name.
- Parameters:
membershipName- Response element for GetMembership that provides the configured membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipArn
GetMembershipResponse.Builder membershipArn(String membershipArn)
Response element for GetMembership that provides the membership ARN.
- Parameters:
membershipArn- Response element for GetMembership that provides the membership ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipStatus
GetMembershipResponse.Builder membershipStatus(String membershipStatus)
Response element for GetMembership that provides the current membership status.
- Parameters:
membershipStatus- Response element for GetMembership that provides the current membership status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MembershipStatus,MembershipStatus
-
membershipStatus
GetMembershipResponse.Builder membershipStatus(MembershipStatus membershipStatus)
Response element for GetMembership that provides the current membership status.
- Parameters:
membershipStatus- Response element for GetMembership that provides the current membership status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MembershipStatus,MembershipStatus
-
membershipActivationTimestamp
GetMembershipResponse.Builder membershipActivationTimestamp(Instant membershipActivationTimestamp)
Response element for GetMembership that provides the configured membership activation timestamp.
- Parameters:
membershipActivationTimestamp- Response element for GetMembership that provides the configured membership activation timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipDeactivationTimestamp
GetMembershipResponse.Builder membershipDeactivationTimestamp(Instant membershipDeactivationTimestamp)
Response element for GetMembership that provides the configured membership name deactivation timestamp.
- Parameters:
membershipDeactivationTimestamp- Response element for GetMembership that provides the configured membership name deactivation timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerType
GetMembershipResponse.Builder customerType(String customerType)
Response element for GetMembership that provides the configured membership type. Options include
Standalone | Organizations.- Parameters:
customerType- Response element for GetMembership that provides the configured membership type. Options includeStandalone | Organizations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomerType,CustomerType
-
customerType
GetMembershipResponse.Builder customerType(CustomerType customerType)
Response element for GetMembership that provides the configured membership type. Options include
Standalone | Organizations.- Parameters:
customerType- Response element for GetMembership that provides the configured membership type. Options includeStandalone | Organizations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CustomerType,CustomerType
-
numberOfAccountsCovered
GetMembershipResponse.Builder numberOfAccountsCovered(Long numberOfAccountsCovered)
Response element for GetMembership that provides the number of accounts in the membership.
- Parameters:
numberOfAccountsCovered- Response element for GetMembership that provides the number of accounts in the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
GetMembershipResponse.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam)
Response element for GetMembership that provides the configured membership incident response team members.
- Parameters:
incidentResponseTeam- Response element for GetMembership that provides the configured membership incident response team members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
GetMembershipResponse.Builder incidentResponseTeam(IncidentResponder... incidentResponseTeam)
Response element for GetMembership that provides the configured membership incident response team members.
- Parameters:
incidentResponseTeam- Response element for GetMembership that provides the configured membership incident response team members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
GetMembershipResponse.Builder incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam)
Response element for GetMembership that provides the configured membership incident response team members.
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 to#incidentResponseTeam(List.) - 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:
#incidentResponseTeam(java.util.Collection)
-
optInFeatures
GetMembershipResponse.Builder optInFeatures(Collection<OptInFeature> optInFeatures)
Response element for GetMembership that provides the if opt-in features have been enabled.
- Parameters:
optInFeatures- Response element for GetMembership that provides the if opt-in features have been enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
GetMembershipResponse.Builder optInFeatures(OptInFeature... optInFeatures)
Response element for GetMembership that provides the if opt-in features have been enabled.
- Parameters:
optInFeatures- Response element for GetMembership that provides the if opt-in features have been enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
GetMembershipResponse.Builder optInFeatures(Consumer<OptInFeature.Builder>... optInFeatures)
Response element for GetMembership that provides the if opt-in features have been enabled.
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 to#optInFeatures(List.) - 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:
#optInFeatures(java.util.Collection)
-
-