congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Kernel (java.awt.image)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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