Interface RDFGraphSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RDFGraphSummary.Builder,RDFGraphSummary>,SdkBuilder<RDFGraphSummary.Builder,RDFGraphSummary>,SdkPojo
- Enclosing class:
- RDFGraphSummary
public static interface RDFGraphSummary.Builder extends SdkPojo, CopyableBuilder<RDFGraphSummary.Builder,RDFGraphSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RDFGraphSummary.Builderclasses(String... classes)A list of the classes in the graph.RDFGraphSummary.Builderclasses(Collection<String> classes)A list of the classes in the graph.RDFGraphSummary.BuildernumClasses(Long numClasses)The number of classes in the graph.RDFGraphSummary.BuildernumDistinctPredicates(Long numDistinctPredicates)The number of distinct predicates in the graph.RDFGraphSummary.BuildernumDistinctSubjects(Long numDistinctSubjects)The number of distinct subjects in the graph.RDFGraphSummary.BuildernumQuads(Long numQuads)The number of quads in the graph.RDFGraphSummary.Builderpredicates(Collection<? extends Map<String,Long>> predicates)"A list of predicates in the graph, along with the predicate counts.RDFGraphSummary.Builderpredicates(Map<String,Long>... predicates)"A list of predicates in the graph, along with the predicate counts.RDFGraphSummary.BuildersubjectStructures(Collection<SubjectStructure> subjectStructures)This field is only present when the request mode isDETAILED.RDFGraphSummary.BuildersubjectStructures(Consumer<SubjectStructure.Builder>... subjectStructures)This field is only present when the request mode isDETAILED.RDFGraphSummary.BuildersubjectStructures(SubjectStructure... subjectStructures)This field is only present when the request mode isDETAILED.-
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
-
-
-
-
Method Detail
-
numDistinctSubjects
RDFGraphSummary.Builder numDistinctSubjects(Long numDistinctSubjects)
The number of distinct subjects in the graph.
- Parameters:
numDistinctSubjects- The number of distinct subjects in the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numDistinctPredicates
RDFGraphSummary.Builder numDistinctPredicates(Long numDistinctPredicates)
The number of distinct predicates in the graph.
- Parameters:
numDistinctPredicates- The number of distinct predicates in the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numQuads
RDFGraphSummary.Builder numQuads(Long numQuads)
The number of quads in the graph.
- Parameters:
numQuads- The number of quads in the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numClasses
RDFGraphSummary.Builder numClasses(Long numClasses)
The number of classes in the graph.
- Parameters:
numClasses- The number of classes in the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classes
RDFGraphSummary.Builder classes(Collection<String> classes)
A list of the classes in the graph.
- Parameters:
classes- A list of the classes in the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classes
RDFGraphSummary.Builder classes(String... classes)
A list of the classes in the graph.
- Parameters:
classes- A list of the classes in the graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicates
RDFGraphSummary.Builder predicates(Collection<? extends Map<String,Long>> predicates)
"A list of predicates in the graph, along with the predicate counts.
- Parameters:
predicates- "A list of predicates in the graph, along with the predicate counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicates
RDFGraphSummary.Builder predicates(Map<String,Long>... predicates)
"A list of predicates in the graph, along with the predicate counts.
- Parameters:
predicates- "A list of predicates in the graph, along with the predicate counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectStructures
RDFGraphSummary.Builder subjectStructures(Collection<SubjectStructure> subjectStructures)
This field is only present when the request mode is
DETAILED. It contains a list of subject structures.- Parameters:
subjectStructures- This field is only present when the request mode isDETAILED. It contains a list of subject structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectStructures
RDFGraphSummary.Builder subjectStructures(SubjectStructure... subjectStructures)
This field is only present when the request mode is
DETAILED. It contains a list of subject structures.- Parameters:
subjectStructures- This field is only present when the request mode isDETAILED. It contains a list of subject structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectStructures
RDFGraphSummary.Builder subjectStructures(Consumer<SubjectStructure.Builder>... subjectStructures)
This field is only present when the request mode is
This is a convenience method that creates an instance of theDETAILED. It contains a list of subject structures.SubjectStructure.Builderavoiding the need to create one manually viaSubjectStructure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subjectStructures(List.) - Parameters:
subjectStructures- a consumer that will call methods onSubjectStructure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subjectStructures(java.util.Collection)
-
-