Class Workforce

    • Method Detail

      • workforceName

        public final String workforceName()

        The name of the private workforce.

        Returns:
        The name of the private workforce.
      • workforceArn

        public final String workforceArn()

        The Amazon Resource Name (ARN) of the private workforce.

        Returns:
        The Amazon Resource Name (ARN) of the private workforce.
      • lastUpdatedDate

        public final Instant lastUpdatedDate()

        The most recent date that UpdateWorkforce was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.

        Returns:
        The most recent date that UpdateWorkforce was used to successfully add one or more IP address ranges (CIDRs) to a private workforce's allow list.
      • sourceIpConfig

        public final SourceIpConfig sourceIpConfig()

        A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.

        Returns:
        A list of one to ten IP address ranges (CIDRs) to be added to the workforce allow list. By default, a workforce isn't restricted to specific IP addresses.
      • subDomain

        public final String subDomain()

        The subdomain for your OIDC Identity Provider.

        Returns:
        The subdomain for your OIDC Identity Provider.
      • cognitoConfig

        public final CognitoConfig cognitoConfig()

        The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.

        Returns:
        The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
      • oidcConfig

        public final OidcConfigForResponse oidcConfig()

        The configuration of an OIDC Identity Provider (IdP) private workforce.

        Returns:
        The configuration of an OIDC Identity Provider (IdP) private workforce.
      • createDate

        public final Instant createDate()

        The date that the workforce is created.

        Returns:
        The date that the workforce is created.
      • workforceVpcConfig

        public final WorkforceVpcConfigResponse workforceVpcConfig()

        The configuration of a VPC workforce.

        Returns:
        The configuration of a VPC workforce.
      • failureReason

        public final String failureReason()

        The reason your workforce failed.

        Returns:
        The reason your workforce failed.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)