Class Meta.MetaBuilder
java.lang.Object
de.captaingoldfish.scim.sdk.common.resources.complex.Meta.MetaBuilder
- Enclosing class:
- Meta
a builder class that is not generated with lombok because of the multiple setter-methods for created and
last modified
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()returns the built meta-objectThe "DateTime" that the resource was added to the service provider.created(LocalDateTime created) The "DateTime" that the resource was added to the service provider.created(OffsetDateTime created) The "DateTime" that the resource was added to the service provider.lastModified(Instant lastModified) The most recent DateTime that the details of this resource were updated at the service provider.lastModified(LocalDateTime lastModified) The most recent DateTime that the details of this resource were updated at the service provider.lastModified(OffsetDateTime lastModified) The most recent DateTime that the details of this resource were updated at the service provider.The URI of the resource being returned.resourceType(String resourceType) The name of the resource type of the resource.The version of the resource being returned.The version of the resource being returned.
-
Constructor Details
-
MetaBuilder
public MetaBuilder() -
MetaBuilder
-
-
Method Details
-
created
The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime. -
created
The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime. -
created
The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime. -
lastModified
The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created". -
lastModified
The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created". -
lastModified
The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created". -
location
The URI of the resource being returned. This value MUST be the same as the "Content-Location" HTTP response header (see Section 3.1.4.2 of [RFC7231]). -
resourceType
The name of the resource type of the resource. This attribute has a mutability of "readOnly" and "caseExact" as "true". -
version
The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive). -
version
The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive). -
build
returns the built meta-object
-