Interface Conflict.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Conflict.Builder,,Conflict> SdkBuilder<Conflict.Builder,,Conflict> SdkPojo
- Enclosing class:
Conflict
-
Method Summary
Modifier and TypeMethodDescriptiondefault Conflict.BuilderdependencyState(Consumer<DependencyStateConflict.Builder> dependencyState) A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.dependencyState(DependencyStateConflict dependencyState) A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.default Conflict.BuilderduplicateValue(Consumer<DuplicateValueConflict.Builder> duplicateValue) Another resource already has the value the request gives a field that must be unique, such as a profile's name.duplicateValue(DuplicateValueConflict duplicateValue) Another resource already has the value the request gives a field that must be unique, such as a profile's name.default Conflict.BuilderresourceState(Consumer<ResourceStateConflict.Builder> resourceState) The target resource's state doesn't allow the request.resourceState(ResourceStateConflict resourceState) The target resource's state doesn't allow the request.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
-
duplicateValue
Another resource already has the value the request gives a field that must be unique, such as a profile's name.
- Parameters:
duplicateValue- Another resource already has the value the request gives a field that must be unique, such as a profile's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duplicateValue
Another resource already has the value the request gives a field that must be unique, such as a profile's name.
This is a convenience method that creates an instance of theDuplicateValueConflict.Builderavoiding the need to create one manually viaDuplicateValueConflict.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toduplicateValue(DuplicateValueConflict).- Parameters:
duplicateValue- a consumer that will call methods onDuplicateValueConflict.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceState
The target resource's state doesn't allow the request.
- Parameters:
resourceState- The target resource's state doesn't allow the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceState
The target resource's state doesn't allow the request.
This is a convenience method that creates an instance of theResourceStateConflict.Builderavoiding the need to create one manually viaResourceStateConflict.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceState(ResourceStateConflict).- Parameters:
resourceState- a consumer that will call methods onResourceStateConflict.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependencyState
A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.
- Parameters:
dependencyState- A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencyState
A resource the request depends on is in a state that doesn't allow the request, such as a draft revised after the caller read its draftRevision.
This is a convenience method that creates an instance of theDependencyStateConflict.Builderavoiding the need to create one manually viaDependencyStateConflict.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todependencyState(DependencyStateConflict).- Parameters:
dependencyState- a consumer that will call methods onDependencyStateConflict.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-