Tabnine Logo
DomainDescriptionType
Code IndexAdd Tabnine to your IDE (free)

How to use
DomainDescriptionType
in
software.amazon.awssdk.services.cognitoidentityprovider.model

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.DomainDescriptionType (Showing top 16 results out of 315)

origin: aws/aws-sdk-java-v2

@Override
public DomainDescriptionType build() {
  return new DomainDescriptionType(this);
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(userPoolId());
  hashCode = 31 * hashCode + Objects.hashCode(awsAccountId());
  hashCode = 31 * hashCode + Objects.hashCode(domain());
  hashCode = 31 * hashCode + Objects.hashCode(s3Bucket());
  hashCode = 31 * hashCode + Objects.hashCode(cloudFrontDistribution());
  hashCode = 31 * hashCode + Objects.hashCode(version());
  hashCode = 31 * hashCode + Objects.hashCode(statusAsString());
  hashCode = 31 * hashCode + Objects.hashCode(customDomainConfig());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

public final DomainDescriptionType.Builder getDomainDescription() {
  return domainDescription != null ? domainDescription.toBuilder() : null;
}
origin: aws/aws-sdk-java-v2

  /**
   * <p>
   * A domain description object containing information about the domain.
   * </p>
   * This is a convenience that creates an instance of the {@link DomainDescriptionType.Builder} avoiding the need
   * to create one manually via {@link DomainDescriptionType#builder()}.
   *
   * When the {@link Consumer} completes, {@link DomainDescriptionType.Builder#build()} is called immediately and
   * its result is passed to {@link #domainDescription(DomainDescriptionType)}.
   * 
   * @param domainDescription
   *        a consumer that will call methods on {@link DomainDescriptionType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #domainDescription(DomainDescriptionType)
   */
  default Builder domainDescription(Consumer<DomainDescriptionType.Builder> domainDescription) {
    return domainDescription(DomainDescriptionType.builder().applyMutation(domainDescription).build());
  }
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * <p>
   * A domain description object containing information about the domain.
   * </p>
   * This is a convenience that creates an instance of the {@link DomainDescriptionType.Builder} avoiding the need
   * to create one manually via {@link DomainDescriptionType#builder()}.
   *
   * When the {@link Consumer} completes, {@link DomainDescriptionType.Builder#build()} is called immediately and
   * its result is passed to {@link #domainDescription(DomainDescriptionType)}.
   * 
   * @param domainDescription
   *        a consumer that will call methods on {@link DomainDescriptionType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #domainDescription(DomainDescriptionType)
   */
  default Builder domainDescription(Consumer<DomainDescriptionType.Builder> domainDescription) {
    return domainDescription(DomainDescriptionType.builder().applyMutation(domainDescription).build());
  }
}
origin: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof DomainDescriptionType)) {
    return false;
  }
  DomainDescriptionType other = (DomainDescriptionType) obj;
  return Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(awsAccountId(), other.awsAccountId())
      && Objects.equals(domain(), other.domain()) && Objects.equals(s3Bucket(), other.s3Bucket())
      && Objects.equals(cloudFrontDistribution(), other.cloudFrontDistribution())
      && Objects.equals(version(), other.version()) && Objects.equals(statusAsString(), other.statusAsString())
      && Objects.equals(customDomainConfig(), other.customDomainConfig());
}
origin: software.amazon.awssdk/cognitoidp

public DomainDescriptionType unmarshall(JsonUnmarshallerContext context) throws Exception {
  DomainDescriptionType.Builder domainDescriptionTypeBuilder = DomainDescriptionType.builder();
origin: software.amazon.awssdk/cognitoidp

  @Override
  public DomainDescriptionType build() {
    return new DomainDescriptionType(this);
  }
}
origin: software.amazon.awssdk/cognitoidp

public final DomainDescriptionType.Builder getDomainDescription() {
  return domainDescription != null ? domainDescription.toBuilder() : null;
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(userPoolId());
  hashCode = 31 * hashCode + Objects.hashCode(awsAccountId());
  hashCode = 31 * hashCode + Objects.hashCode(domain());
  hashCode = 31 * hashCode + Objects.hashCode(s3Bucket());
  hashCode = 31 * hashCode + Objects.hashCode(cloudFrontDistribution());
  hashCode = 31 * hashCode + Objects.hashCode(version());
  hashCode = 31 * hashCode + Objects.hashCode(statusAsString());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

/**
 * 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.
 */
@Override
public String toString() {
  return ToString.builder("DomainDescriptionType").add("UserPoolId", userPoolId()).add("AWSAccountId", awsAccountId())
      .add("Domain", domain()).add("S3Bucket", s3Bucket()).add("CloudFrontDistribution", cloudFrontDistribution())
      .add("Version", version()).add("Status", statusAsString()).add("CustomDomainConfig", customDomainConfig())
      .build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof DomainDescriptionType)) {
    return false;
  }
  DomainDescriptionType other = (DomainDescriptionType) obj;
  return Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(awsAccountId(), other.awsAccountId())
      && Objects.equals(domain(), other.domain()) && Objects.equals(s3Bucket(), other.s3Bucket())
      && Objects.equals(cloudFrontDistribution(), other.cloudFrontDistribution())
      && Objects.equals(version(), other.version()) && Objects.equals(statusAsString(), other.statusAsString());
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("DomainDescriptionType").add("UserPoolId", userPoolId()).add("AWSAccountId", awsAccountId())
      .add("Domain", domain()).add("S3Bucket", s3Bucket()).add("CloudFrontDistribution", cloudFrontDistribution())
      .add("Version", version()).add("Status", statusAsString()).build();
}
origin: software.amazon.awssdk/cognitoidp

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "UserPoolId":
    return Optional.ofNullable(clazz.cast(userPoolId()));
  case "AWSAccountId":
    return Optional.ofNullable(clazz.cast(awsAccountId()));
  case "Domain":
    return Optional.ofNullable(clazz.cast(domain()));
  case "S3Bucket":
    return Optional.ofNullable(clazz.cast(s3Bucket()));
  case "CloudFrontDistribution":
    return Optional.ofNullable(clazz.cast(cloudFrontDistribution()));
  case "Version":
    return Optional.ofNullable(clazz.cast(version()));
  case "Status":
    return Optional.ofNullable(clazz.cast(statusAsString()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "UserPoolId":
    return Optional.ofNullable(clazz.cast(userPoolId()));
  case "AWSAccountId":
    return Optional.ofNullable(clazz.cast(awsAccountId()));
  case "Domain":
    return Optional.ofNullable(clazz.cast(domain()));
  case "S3Bucket":
    return Optional.ofNullable(clazz.cast(s3Bucket()));
  case "CloudFrontDistribution":
    return Optional.ofNullable(clazz.cast(cloudFrontDistribution()));
  case "Version":
    return Optional.ofNullable(clazz.cast(version()));
  case "Status":
    return Optional.ofNullable(clazz.cast(statusAsString()));
  case "CustomDomainConfig":
    return Optional.ofNullable(clazz.cast(customDomainConfig()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * Marshall the given parameter object
   */
  public void marshall(DomainDescriptionType domainDescriptionType, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(domainDescriptionType, "domainDescriptionType");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(domainDescriptionType.userPoolId(), USERPOOLID_BINDING);
      protocolMarshaller.marshall(domainDescriptionType.awsAccountId(), AWSACCOUNTID_BINDING);
      protocolMarshaller.marshall(domainDescriptionType.domain(), DOMAIN_BINDING);
      protocolMarshaller.marshall(domainDescriptionType.s3Bucket(), S3BUCKET_BINDING);
      protocolMarshaller.marshall(domainDescriptionType.cloudFrontDistribution(), CLOUDFRONTDISTRIBUTION_BINDING);
      protocolMarshaller.marshall(domainDescriptionType.version(), VERSION_BINDING);
      protocolMarshaller.marshall(domainDescriptionType.statusAsString(), STATUS_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelDomainDescriptionType

Javadoc

A container for information about a domain.

Most used methods

  • <init>
  • awsAccountId
    The AWS account ID for the user pool owner.
  • builder
  • cloudFrontDistribution
    The ARN of the CloudFront distribution.
  • domain
    The domain string.
  • s3Bucket
    The S3 bucket where the static files for this domain are stored.
  • statusAsString
    The domain status. If the service returns an enum value that is not available in the current SDK
  • toBuilder
  • userPoolId
    The user pool ID.
  • version
    The app version.
  • customDomainConfig
    Returns the value of the CustomDomainConfig property for this object.
  • customDomainConfig

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Table (org.hibernate.mapping)
    A relational table
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now